summaryrefslogtreecommitdiffstats
path: root/generic/tclScan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-20 20:29:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-20 20:29:25 (GMT)
commit8af92a8a6b470126d931eff19d97f7630f618006 (patch)
treeba0c6e7a1024d982938235931b0d1067bd1d9197 /generic/tclScan.c
parentc820318356373338e81456fc7f995e2e19c0218c (diff)
parentab2ee17c917d4c1ac391bc15fe68a87e672f2f73 (diff)
downloadtcl-8af92a8a6b470126d931eff19d97f7630f618006.zip
tcl-8af92a8a6b470126d931eff19d97f7630f618006.tar.gz
tcl-8af92a8a6b470126d931eff19d97f7630f618006.tar.bz2
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!)
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r--generic/tclScan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c
index 195153b..71af1f2 100644
--- a/generic/tclScan.c
+++ b/generic/tclScan.c
@@ -902,7 +902,7 @@ Tcl_ScanObjCmd(
* Scan a single Unicode character.
*/
- offset = Tcl_UtfToUniChar(string, &i);
+ offset = TclUtfToUniChar(string, &i);
string += offset;
if (!(flags & SCAN_SUPPRESS)) {
TclNewIntObj(objPtr, i);