summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-24 00:30:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-24 00:30:08 (GMT)
commitd7156f25cf364f27a66714b3180799d3abf07a9a (patch)
tree6c6340bb387ae1423667cd5c526982bf6d4bae90 /generic/tclUtf.c
parent9c27c0e59b0afaae14af4b0a18f128744ea594b1 (diff)
parentbd656d0e3881028b3b25a40e96d9253baabd44ec (diff)
downloadtcl-d7156f25cf364f27a66714b3180799d3abf07a9a.zip
tcl-d7156f25cf364f27a66714b3180799d3abf07a9a.tar.gz
tcl-d7156f25cf364f27a66714b3180799d3abf07a9a.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 ab26779..04e9d77 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -1425,7 +1425,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 != ' '));
}
/*