summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-03 21:51:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-03 21:51:48 (GMT)
commit67b632666e2e646875b77f76fde870f27d26ce8d (patch)
treefe7e5f0aa8e5ead716922dee24b37876d6a8a247 /generic/tclZipfs.c
parente74974e6cddc887a442d6134824509aeeb1ce0f7 (diff)
downloadtcl-67b632666e2e646875b77f76fde870f27d26ce8d.zip
tcl-67b632666e2e646875b77f76fde870f27d26ce8d.tar.gz
tcl-67b632666e2e646875b77f76fde870f27d26ce8d.tar.bz2
Use *WChar* in stead of *Char16* functions on Windows, always. It's actually the same, but more consistent.
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index 3cb271b..0dca6f1 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -4930,7 +4930,7 @@ TclZipfs_AppHook(
Tcl_DString ds;
Tcl_DStringInit(&ds);
- archive = Tcl_Char16ToUtfDString((*argvPtr)[1], -1, &ds);
+ archive = Tcl_WCharToUtfDString((*argvPtr)[1], -1, &ds);
#else /* !_WIN32 */
archive = (*argvPtr)[1];
#endif /* _WIN32 */