diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-23 23:31:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-23 23:31:50 (GMT) |
commit | e1074be4bf98ca2d9b91651693f0da2ee6c1042d (patch) | |
tree | 734ea4baca3122811a21881af45abe7a10d5a38f /generic/tclUtf.c | |
parent | ffa41c2677af95d32514e51ef9bf3cf2cdfcf29b (diff) | |
download | tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.zip tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.tar.gz tcl-e1074be4bf98ca2d9b91651693f0da2ee6c1042d.tar.bz2 |
[Bug 3464428] string is graph \u0120 is wrong
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 != ' ')); } /* |