summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXHLEvents.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 /macosx/tkMacOSXHLEvents.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 'macosx/tkMacOSXHLEvents.c')
-rw-r--r--macosx/tkMacOSXHLEvents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c
index 5c15838..44047d5 100644
--- a/macosx/tkMacOSXHLEvents.c
+++ b/macosx/tkMacOSXHLEvents.c
@@ -227,8 +227,8 @@ static const char getSdefProc[] = "::tk::mac::GetDynamicSdef";
if (fileURL == nil) {
continue;
}
- (void)Tcl_ExternalToUtfDStringEx(utf8, [[fileURL path] UTF8String], -1,
- TCL_ENCODING_NOCOMPLAIN, &pathName);
+ (void)Tcl_ExternalToUtfDString(utf8, [[fileURL path] UTF8String], -1,
+ &pathName);
Tcl_DStringAppendElement(openCommand, Tcl_DStringValue(&pathName));
Tcl_DStringFree(&pathName);
}