diff options
author | mp <mp@FreeBSD.org> | 2009-07-11 05:35:08 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2009-07-11 05:35:08 +0000 |
commit | e5921a6fae9164c5f8ad6bb718db42f3f7a9e455 (patch) | |
tree | b22c970391cc429da340ec007eb76294ea034b89 /contrib/tcsh/ed.screen.c | |
parent | 9b2f8ecbb332eb8e16c52d1731de9082d102e68b (diff) | |
parent | 50eaa69b9f8628c1a960d67f9226b2178e1af1cb (diff) | |
download | FreeBSD-src-e5921a6fae9164c5f8ad6bb718db42f3f7a9e455.zip FreeBSD-src-e5921a6fae9164c5f8ad6bb718db42f3f7a9e455.tar.gz |
Update to tcsh 6.17.00.
Approved by: re (kensmith)
Diffstat (limited to 'contrib/tcsh/ed.screen.c')
-rw-r--r-- | contrib/tcsh/ed.screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tcsh/ed.screen.c b/contrib/tcsh/ed.screen.c index c0ede76..cf36717 100644 --- a/contrib/tcsh/ed.screen.c +++ b/contrib/tcsh/ed.screen.c @@ -1,4 +1,4 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/ed.screen.c,v 3.75 2006/08/24 20:56:31 christos Exp $ */ +/* $Header: /p/tcsh/cvsroot/tcsh/ed.screen.c,v 3.76 2009/06/25 21:15:37 christos Exp $ */ /* * ed.screen.c: Editor/termcap-curses interface */ @@ -32,7 +32,7 @@ */ #include "sh.h" -RCSID("$tcsh: ed.screen.c,v 3.75 2006/08/24 20:56:31 christos Exp $") +RCSID("$tcsh: ed.screen.c,v 3.76 2009/06/25 21:15:37 christos Exp $") #include "ed.h" #include "tc.h" @@ -383,8 +383,8 @@ TellTC(void) struct termcapstr *t; char *first, *s; - xprintf(CGETS(7, 1, "\n\tTcsh thinks your terminal has the\n")); - xprintf(CGETS(7, 2, "\tfollowing characteristics:\n\n")); + xprintf("%s", CGETS(7, 1, "\n\tTcsh thinks your terminal has the\n")); + xprintf("%s", CGETS(7, 2, "\tfollowing characteristics:\n\n")); xprintf(CGETS(7, 3, "\tIt has %d columns and %d lines\n"), Val(T_co), Val(T_li)); s = strsave(T_HasMeta ? CGETS(7, 5, "a") : CGETS(7, 6, "no")); @@ -610,7 +610,7 @@ EchoTC(Char **v) scap = tgetstr(cv, &area); if (!scap || scap[0] == '\0') { if (tgetflag(cv)) { - xprintf(CGETS(7, 14, "yes\n")); + xprintf("%s", CGETS(7, 14, "yes\n")); goto end; } if (silent) |