diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-01-22 18:02:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-01-22 18:02:21 +0000 |
commit | 7fe795010750d2e2889d7085abeaa1ee0926c69b (patch) | |
tree | b52138c43e052b09287afed0fb6351cd31249bda /usr.bin/tic/tic.c | |
parent | 85db479b2362c15a2266e01737d835e86cda1b1e (diff) |
Update to ncurses-5.2-20010114
Diffstat (limited to 'usr.bin/tic/tic.c')
-rw-r--r-- | usr.bin/tic/tic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index f6efc744611..36547d6c169 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -44,7 +44,7 @@ #include <term_entry.h> #include <transform.h> -MODULE_ID("$From: tic.c,v 1.83 2000/10/14 17:30:26 tom Exp $") +MODULE_ID("$From: tic.c,v 1.84 2000/11/04 22:50:16 tom Exp $") const char *_nc_progname = "tic"; @@ -292,12 +292,12 @@ put_translate(int c) static char * stripped(char *src) { - while (isspace(*src)) + while (isspace(CharOf(*src))) src++; if (*src != '\0') { char *dst = strcpy(malloc(strlen(src) + 1), src); size_t len = strlen(dst); - while (--len != 0 && isspace(dst[len])) + while (--len != 0 && isspace(CharOf(dst[len]))) dst[len] = '\0'; return dst; } |