diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-24 17:41:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-24 17:41:44 (GMT) |
commit | 3795a0f7dc8e3f2f187e396b0e0dbaa284ee218c (patch) | |
tree | 919d7c08158ef5c3b5826ce34093caf15fea43e1 /macosx | |
parent | ddf4a5f1583b7a5c030020dcf4a1e712b5d465f2 (diff) | |
parent | ec4cf7a9950b3987b1736ee072b787c0b5494d7f (diff) | |
download | tcl-3795a0f7dc8e3f2f187e396b0e0dbaa284ee218c.zip tcl-3795a0f7dc8e3f2f187e396b0e0dbaa284ee218c.tar.gz tcl-3795a0f7dc8e3f2f187e396b0e0dbaa284ee218c.tar.bz2 |
Merge 8.7
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tclMacOSXFCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index 71b98b5..7bdc72a 100644 --- a/macosx/tclMacOSXFCmd.c +++ b/macosx/tclMacOSXFCmd.c @@ -710,7 +710,7 @@ UpdateStringOfOSType( src[4] = '\0'; encoding = Tcl_GetEncoding(NULL, "macRoman"); - Tcl_ExternalToUtf(NULL, encoding, src, -1, /* flags */ 0, + Tcl_ExternalToUtf(NULL, encoding, src, TCL_INDEX_NONE, /* flags */ 0, /* statePtr */ NULL, dst, size, /* srcReadPtr */ NULL, /* dstWrotePtr */ &written, /* dstCharsPtr */ NULL); Tcl_FreeEncoding(encoding); |