diff options
author | Mark Peek <mp@FreeBSD.org> | 2009-07-10 21:47:20 +0000 |
---|---|---|
committer | Mark Peek <mp@FreeBSD.org> | 2009-07-10 21:47:20 +0000 |
commit | 0019e4ce59d3c558ec308aeb83e80048b72332f6 (patch) | |
tree | 17eebca78bf08f0e79096867499da4a83e098c34 /ed.screen.c | |
parent | bc49518e16776ae85e579feca2ecc4c0001c64a6 (diff) |
Notes
Diffstat (limited to 'ed.screen.c')
-rw-r--r-- | ed.screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ed.screen.c b/ed.screen.c index c0ede7603e4d..cf36717a34f7 100644 --- a/ed.screen.c +++ b/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) |