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 | 26807808cc400ad9a0eab231cd691bd5d6722a76 (patch) | |
tree | 011764b9a1c9b1b47f5d61b56f1627526961f832 /generic/tkText.c | |
parent | b4f938fde52946a11156db16484e4edb491cb25f (diff) | |
download | tk-26807808cc400ad9a0eab231cd691bd5d6722a76.zip tk-26807808cc400ad9a0eab231cd691bd5d6722a76.tar.gz tk-26807808cc400ad9a0eab231cd691bd5d6722a76.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); |