diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-19 10:14:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-19 10:14:52 (GMT) |
commit | bdb580aa2563588e6e1f5090bb9b89369e2f2d4f (patch) | |
tree | 011764b9a1c9b1b47f5d61b56f1627526961f832 /generic/tkText.c | |
parent | 7a5d64437977cc14b7b79e336b3b2a20785348e5 (diff) | |
download | tk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.zip tk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.tar.gz tk-bdb580aa2563588e6e1f5090bb9b89369e2f2d4f.tar.bz2 |
More simplifications
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index dacadbe..8ae17a5 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -4615,7 +4615,7 @@ TkTextGetTabs( * There may be a more efficient way of getting this. */ - TkUtfToUniChar2(Tcl_GetString(objv[i+1]), &ch); + TkUtfToUniChar(Tcl_GetString(objv[i+1]), &ch); if (!Tcl_UniCharIsAlpha(ch)) { continue; } @@ -5966,7 +5966,7 @@ SearchCore( CLANG_ASSERT(pattern); do { - Tcl_UniChar ch; + int ch; const char *p; int lastFullLine = lastOffset; @@ -6196,7 +6196,7 @@ SearchCore( } } else { firstOffset = p - startOfLine + - Tcl_UtfToUniChar(startOfLine+matchOffset,&ch); + TkUtfToUniChar(startOfLine+matchOffset,&ch); } } } while (searchSpecPtr->all); |