summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-24 00:15:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-24 00:15:37 (GMT)
commitbd656d0e3881028b3b25a40e96d9253baabd44ec (patch)
tree80b45dd8b018a2a406128e2d65dd5ba6641eb428 /generic/tclUtf.c
parent7cc01f77560c27ac24cdc87a1171c1c75853a7cf (diff)
parente1074be4bf98ca2d9b91651693f0da2ee6c1042d (diff)
downloadtcl-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.c2
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 != ' '));
}
/*