diff options
author | ache <ache@FreeBSD.org> | 1994-10-09 15:40:07 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-09 15:40:07 +0000 |
commit | edad1978e61f52a5e107dcf09a9bb65251827e2e (patch) | |
tree | 5f52bb66eeeb681bc863abadd83a239896176825 /usr.bin/more/command.c | |
parent | e0df6f34b872fe102ae8bca83de853062d740c79 (diff) | |
download | FreeBSD-src-edad1978e61f52a5e107dcf09a9bb65251827e2e.zip FreeBSD-src-edad1978e61f52a5e107dcf09a9bb65251827e2e.tar.gz |
Back out part of ctype fixes, unneded with new ctypoe
Diffstat (limited to 'usr.bin/more/command.c')
-rw-r--r-- | usr.bin/more/command.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/more/command.c b/usr.bin/more/command.c index dcab842..cf86e60 100644 --- a/usr.bin/more/command.c +++ b/usr.bin/more/command.c @@ -85,7 +85,7 @@ cmd_erase() return(1); /* erase an extra character, for the carat. */ - c = *--cp & 0xff; + c = *--cp; if (CONTROL_CHAR(c)) { backspace(); --cmd_col; @@ -121,9 +121,9 @@ cmd_char(c) /* in this order, in case werase == erase_char */ if (c == werase_char) { if (cp > cmdbuf) { - while (isspace(cp[-1] & 0xff) && !cmd_erase()); - while (!isspace(cp[-1] & 0xff) && !cmd_erase()); - while (isspace(cp[-1] & 0xff) && !cmd_erase()); + while (isspace(cp[-1]) && !cmd_erase()); + while (!isspace(cp[-1]) && !cmd_erase()); + while (isspace(cp[-1]) && !cmd_erase()); } return(cp == cmdbuf); } @@ -276,11 +276,11 @@ exec_mca() (void)search(0, cmdbuf, number, wsearch); break; case A_EXAMINE: - for (p = cmdbuf; isspace(*p & 0xff); ++p); + for (p = cmdbuf; isspace(*p); ++p); (void)edit(glob(p)); break; case A_TAGFILE: - for (p = cmdbuf; isspace(*p & 0xff); ++p); + for (p = cmdbuf; isspace(*p); ++p); findtag(p); if (tagfile == NULL) break; |