summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-29 13:10:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-29 13:10:30 (GMT)
commit6e4592be32b35bcfdf27068df712332db8626f9c (patch)
treef458d29c81bcbe51c8c286fd96e205a7e2ec5a21 /generic/tclLoad.c
parentf6e07341e6d9bc5be18d57dc08c1bed03f036212 (diff)
downloadtcl-6e4592be32b35bcfdf27068df712332db8626f9c.zip
tcl-6e4592be32b35bcfdf27068df712332db8626f9c.tar.gz
tcl-6e4592be32b35bcfdf27068df712332db8626f9c.tar.bz2
Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in functionality, just faster if ASCII only strings are involved.
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index 7c70e03..942e6b4 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -336,7 +336,7 @@ Tcl_LoadObjCmd(
}
#endif /* __CYGWIN__ */
for (p = pkgGuess; *p != 0; p += offset) {
- offset = Tcl_UtfToUniChar(p, &ch);
+ offset = TclUtfToUniChar(p, &ch);
if ((ch > 0x100)
|| !(isalpha(UCHAR(ch)) /* INTL: ISO only */
|| (UCHAR(ch) == '_'))) {