diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-24 00:15:37 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-12-24 00:15:37 (GMT) |
commit | 3eb4e211faa5a931a5f1d9c6a013e3d187cdc329 (patch) | |
tree | 80b45dd8b018a2a406128e2d65dd5ba6641eb428 /generic/tclUtf.c | |
parent | 55934bb8114e72c7f948f4551f3a5f2d12ed2e07 (diff) | |
parent | 184c238ce1d719c6e33e5c99cb601710a55eb38f (diff) | |
download | tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.zip tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.tar.gz tcl-3eb4e211faa5a931a5f1d9c6a013e3d187cdc329.tar.bz2 |
[Bug 3464428] string is graph \u0120 is wrong
FossilOrigin-Name: 005fc77cde8bf71bb89a9498c56e9b1bb9d1dc85
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 00b652e..40f6272 100644 --- a/generic/tclUtf.c +++ b/generic/tclUtf.c @@ -1424,7 +1424,7 @@ Tcl_UniCharIsGraph( 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 != ' ')); } /* |