summaryrefslogtreecommitdiffstats
path: root/generic/tclPlatDecls.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r--generic/tclPlatDecls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h
index e35091d..0a8aff8 100644
--- a/generic/tclPlatDecls.h
+++ b/generic/tclPlatDecls.h
@@ -123,10 +123,10 @@ extern const TclPlatStubs *tclPlatStubsPtr;
#undef Tcl_WinTCharToUtf
#ifdef _WIN32
#define Tcl_WinUtfToTChar(string, len, dsPtr) ((Tcl_DStringInit(dsPtr), (string) != NULL) \
- ? (TCHAR *)Tcl_UtfToUtf16DString((string), (len), (dsPtr)) \
+ ? (TCHAR *)Tcl_UtfToWCharDString((string), (len), (dsPtr)) \
: ((void)(len), NULL))
#define Tcl_WinTCharToUtf(string, len, dsPtr) ((Tcl_DStringInit(dsPtr), (string) != NULL) \
- ? (char *)Tcl_Utf16ToUtfDString((string), ((int)(len) >> 1), (dsPtr)) \
+ ? (char *)Tcl_WCharToUtfDString((string), ((int)(len) >> 1), (dsPtr)) \
: ((void)(len), NULL))
#endif
#endif