summaryrefslogtreecommitdiffstats
path: root/win/tclWinLoad.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-11 07:18:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-11 07:18:07 (GMT)
commitc5ced4ccd624f5ba4d19277b7d2394b4e9c41f88 (patch)
tree7e49ddd6d6f020baa55baa85dfe175b836785f4a /win/tclWinLoad.c
parenta0676d22d0b93bc7c895eabce277cafd42d2a4de (diff)
downloadtcl-c5ced4ccd624f5ba4d19277b7d2394b4e9c41f88.zip
tcl-c5ced4ccd624f5ba4d19277b7d2394b4e9c41f88.tar.gz
tcl-c5ced4ccd624f5ba4d19277b7d2394b4e9c41f88.tar.bz2
Rename UTF-related functions to "WChar" and "Char16" variants, more intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers.
Diffstat (limited to 'win/tclWinLoad.c')
-rw-r--r--win/tclWinLoad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinLoad.c b/win/tclWinLoad.c
index ae68956..011ebd7 100644
--- a/win/tclWinLoad.c
+++ b/win/tclWinLoad.c
@@ -96,7 +96,7 @@ TclpDlopen(
ERROR_MOD_NOT_FOUND : GetLastError();
Tcl_DStringInit(&ds);
- nativeName = Tcl_UtfToWCharDString(Tcl_GetString(pathPtr), -1, &ds);
+ nativeName = Tcl_UtfToChar16DString(Tcl_GetString(pathPtr), -1, &ds);
hInstance = LoadLibraryEx(nativeName, NULL,
LOAD_WITH_ALTERED_SEARCH_PATH);
Tcl_DStringFree(&ds);