summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-23 23:31:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-12-23 23:31:50 (GMT)
commite1074be4bf98ca2d9b91651693f0da2ee6c1042d (patch)
tree734ea4baca3122811a21881af45abe7a10d5a38f /generic/tclUtf.c
parentffa41c2677af95d32514e51ef9bf3cf2cdfcf29b (diff)
downloadtcl-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.c2
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 != ' '));
}
/*