diff options
author | ache <ache@FreeBSD.org> | 1995-10-23 20:49:58 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-10-23 20:49:58 +0000 |
commit | 53f62c439cd17bf4668914fc85c802e8e6aa2a07 (patch) | |
tree | 0ede8d22d63fcb3a7d746b902412a6fe6241d36c /lib/libc/gen/vis.c | |
parent | 80200799c7d7c756355c5ad381860f5ab591a9e0 (diff) | |
download | FreeBSD-src-53f62c439cd17bf4668914fc85c802e8e6aa2a07.zip FreeBSD-src-53f62c439cd17bf4668914fc85c802e8e6aa2a07.tar.gz |
Fix it for chars with 8bit set
Diffstat (limited to 'lib/libc/gen/vis.c')
-rw-r--r-- | lib/libc/gen/vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c index e12226a..066ea2d 100644 --- a/lib/libc/gen/vis.c +++ b/lib/libc/gen/vis.c @@ -51,7 +51,7 @@ vis(dst, c, flag, nextc) int c, nextc; register int flag; { - if ((u_int)c <= UCHAR_MAX && isgraph(c) || + if (isgraph(c) || ((flag & VIS_SP) == 0 && c == ' ') || ((flag & VIS_TAB) == 0 && c == '\t') || ((flag & VIS_NL) == 0 && c == '\n') || |