summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-17 13:29:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-17 13:29:39 (GMT)
commite80db5fa35eb76c9c78781bdb07c231394535191 (patch)
tree2d9c0d338e15190cadb20e3a8482b17da9625459 /generic/tclUtf.c
parentb7289f092da5a2bd5277ad7ffc935d4bceded058 (diff)
parent3215339ef0513c63e2d1659e5ede0da1ecee01fc (diff)
downloadtcl-e80db5fa35eb76c9c78781bdb07c231394535191.zip
tcl-e80db5fa35eb76c9c78781bdb07c231394535191.tar.gz
tcl-e80db5fa35eb76c9c78781bdb07c231394535191.tar.bz2
Use more portable TclIsSpaceProc() in stead of isspace().
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 4ad6f01..0af2c25 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -1555,7 +1555,7 @@ Tcl_UniCharIsSpace(
*/
if (((Tcl_UniChar) ch) < ((Tcl_UniChar) 0x80)) {
- return isspace(UCHAR(ch)); /* INTL: ISO space */
+ return TclIsSpaceProc(ch);
} else if ((Tcl_UniChar) ch == 0x0085 || (Tcl_UniChar) ch == 0x180e
|| (Tcl_UniChar) ch == 0x200b || (Tcl_UniChar) ch == 0x2060
|| (Tcl_UniChar) ch == 0xfeff) {