diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-23 23:31:50 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-23 23:31:50 (GMT) |
commit | 184c238ce1d719c6e33e5c99cb601710a55eb38f (patch) | |
tree | 734ea4baca3122811a21881af45abe7a10d5a38f /generic/tclUtf.c | |
parent | b71561598ff244be6ca250689d4786a481bc8625 (diff) | |
download | tcl-184c238ce1d719c6e33e5c99cb601710a55eb38f.zip tcl-184c238ce1d719c6e33e5c99cb601710a55eb38f.tar.gz tcl-184c238ce1d719c6e33e5c99cb601710a55eb38f.tar.bz2 |
[Bug 3464428] string is graph \u0120 is wrong
FossilOrigin-Name: 13071df962ef95f5f101d0fffbb9850c3c97e9e8
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r-- | generic/tclUtf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c index a6decd9..505dc91 100644 --- a/generic/tclUtf.c +++ b/generic/tclUtf.c @@ -1419,7 +1419,7 @@ Tcl_UniCharIsGraph(ch) int ch; /* Unicode character to test. */ { register int category = (GetUniCharInfo(ch) & UNICODE_CATEGORY_MASK); - return (((PRINT_BITS >> category) & 1) && ((unsigned char) ch != ' ')); + return (((PRINT_BITS >> category) & 1) && (ch != ' ')); } /* |