summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:45:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-03 15:45:52 (GMT)
commitcccc9d7b90108183daca454616fc6f97147f0bdd (patch)
tree61ef3fa31a600fb3616ef8011799d0029619699c /generic/tkMain.c
parentac4e07fa62e67af835459bbbc8bc4931317e696d (diff)
downloadtk-cccc9d7b90108183daca454616fc6f97147f0bdd.zip
tk-cccc9d7b90108183daca454616fc6f97147f0bdd.tar.gz
tk-cccc9d7b90108183daca454616fc6f97147f0bdd.tar.bz2
Get rid of TCL_ENCODING_NOCOMPLAIN, since it will (most likely) be removed from Tcl
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r--generic/tkMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index 75b3f7c..fe2c395 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -71,7 +71,7 @@ NewNativeObj(
Tcl_DStringInit(&ds);
Tcl_WCharToUtfDString(string, wcslen(string), &ds);
#else
- (void)Tcl_ExternalToUtfDStringEx(NULL, (char *)string, -1, TCL_ENCODING_NOCOMPLAIN, &ds);
+ (void)Tcl_ExternalToUtfDString(NULL, (char *)string, -1, &ds);
#endif
obj = Tcl_NewStringObj(Tcl_DStringValue(&ds), Tcl_DStringLength(&ds));
Tcl_DStringFree(&ds);