summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/ww.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-30 04:05:50 +0000
committerache <ache@FreeBSD.org>1994-10-30 04:05:50 +0000
commite8cc63c3bb3b5dc1015abf84a6b9eee2453f6898 (patch)
tree98f244c6b5bf842f3b8d541748cb595b796e9a32 /usr.bin/window/ww.h
parent491abb609952c74e827584e709db09c2ea9aed74 (diff)
downloadFreeBSD-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.h2
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)
OpenPOWER on IntegriCloud