diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-09 12:41:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-09 12:41:46 (GMT) |
commit | 3f0dc94455d09a6beaad1a806ba3f6531e49909f (patch) | |
tree | 5a37211c2c31202175901bbdbe3b6efc4b9d9dd8 /generic/tclScan.c | |
parent | 6cc442596661758ad0e028898e046a259a7ae37f (diff) | |
parent | 8b67593cb6cdc934c862eb50a2bbb70713cc5a13 (diff) | |
download | tcl-3f0dc94455d09a6beaad1a806ba3f6531e49909f.zip tcl-3f0dc94455d09a6beaad1a806ba3f6531e49909f.tar.gz tcl-3f0dc94455d09a6beaad1a806ba3f6531e49909f.tar.bz2 |
Rebase to 8.7
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 3749c12..b8c29fa 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.c @@ -879,7 +879,7 @@ Tcl_ScanObjCmd( * Scan a single Unicode character. */ - offset = TclUtfToUCS4(string, &i); + offset = Tcl_UtfToUniChar(string, &i); string += offset; if (!(flags & SCAN_SUPPRESS)) { TclNewIntObj(objPtr, i); |