diff options
author | ache <ache@FreeBSD.org> | 1994-10-30 04:05:50 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-30 04:05:50 +0000 |
commit | e8cc63c3bb3b5dc1015abf84a6b9eee2453f6898 (patch) | |
tree | 98f244c6b5bf842f3b8d541748cb595b796e9a32 /usr.bin/window/ww.h | |
parent | 491abb609952c74e827584e709db09c2ea9aed74 (diff) | |
download | FreeBSD-src-e8cc63c3bb3b5dc1015abf84a6b9eee2453f6898.zip FreeBSD-src-e8cc63c3bb3b5dc1015abf84a6b9eee2453f6898.tar.gz |
More 8bit/ctype fixes, command mode
Diffstat (limited to 'usr.bin/window/ww.h')
-rw-r--r-- | usr.bin/window/ww.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/window/ww.h b/usr.bin/window/ww.h index 9241492..1f65484 100644 --- a/usr.bin/window/ww.h +++ b/usr.bin/window/ww.h @@ -258,7 +258,7 @@ char *wwib; /* input (keyboard) buffer */ char *wwibe; /* wwib + sizeof buffer */ char *wwibp; /* current read position in buffer */ char *wwibq; /* current write position in buffer */ -#define wwmaskc(c) ((c) & 0x7f) +#define wwmaskc(c) ((c) & 0xff) #define wwgetc() (wwibp < wwibq ? wwmaskc(*wwibp++) : -1) #define wwpeekc() (wwibp < wwibq ? wwmaskc(*wwibp) : -1) #define wwungetc(c) (wwibp > wwib ? *--wwibp = (c) : -1) |