Fix it for chars with 8bit set
This commit is contained in:
parent
a409ec1917
commit
7f3f016d8c
@ -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') ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user