summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-19 10:14:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-19 10:14:52 (GMT)
commitbdb580aa2563588e6e1f5090bb9b89369e2f2d4f (patch)
tree011764b9a1c9b1b47f5d61b56f1627526961f832 /generic/tkTextIndex.c
parent7a5d64437977cc14b7b79e336b3b2a20785348e5 (diff)
downloadtk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.zip
tk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.tar.gz
tk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.tar.bz2
More simplifications
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index b794cdb..7aebc84 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -2300,7 +2300,7 @@ StartEnd(
if (segPtr->typePtr == &tkTextCharType) {
int ch;
- chSize = TkUtfToUniChar2(segPtr->body.chars + offset, &ch);
+ chSize = TkUtfToUniChar(segPtr->body.chars + offset, &ch);
if (!Tcl_UniCharIsWordChar(ch)) {
break;
}
@@ -2345,7 +2345,7 @@ StartEnd(
if (segPtr->typePtr == &tkTextCharType) {
int ch;
- TkUtfToUniChar2(segPtr->body.chars + offset, &ch);
+ TkUtfToUniChar(segPtr->body.chars + offset, &ch);
if (!Tcl_UniCharIsWordChar(ch)) {
break;
}