diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-24 00:15:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-12-24 00:15:37 (GMT) |
commit | bd656d0e3881028b3b25a40e96d9253baabd44ec (patch) | |
tree | 80b45dd8b018a2a406128e2d65dd5ba6641eb428 /generic/tclUtf.c | |
parent | 7cc01f77560c27ac24cdc87a1171c1c75853a7cf (diff) | |
parent | e1074be4bf98ca2d9b91651693f0da2ee6c1042d (diff) | |
download | tcl-bd656d0e3881028b3b25a40e96d9253baabd44ec.zip tcl-bd656d0e3881028b3b25a40e96d9253baabd44ec.tar.gz tcl-bd656d0e3881028b3b25a40e96d9253baabd44ec.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 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 != ' ')); } /* |