summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXHLEvents.c
diff options
context:
space:
mode:
authordas <das>2003-02-25 16:11:22 (GMT)
committerdas <das>2003-02-25 16:11:22 (GMT)
commitef0d3a8b26df2e8af5152f986f74dff4ea019ce8 (patch)
tree3050db0d6a1a7d58a4769fae9295683257115c06 /macosx/tkMacOSXHLEvents.c
parent3dae19ff35152af7adbe9b140ec9e3e75e94285c (diff)
downloadtk-ef0d3a8b26df2e8af5152f986f74dff4ea019ce8.zip
tk-ef0d3a8b26df2e8af5152f986f74dff4ea019ce8.tar.gz
tk-ef0d3a8b26df2e8af5152f986f74dff4ea019ce8.tar.bz2
* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event
parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
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 7c7566c..65b0b6c 100644
--- a/macosx/tkMacOSXHLEvents.c
+++ b/macosx/tkMacOSXHLEvents.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.4 2003/02/25 16:09:25 das Exp $
+ * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.5 2003/02/25 16:11:22 das Exp $
*/
#include "tkMacOSXPort.h"
@@ -484,7 +484,7 @@ FSRefToDString(const FSRef *fsref, Tcl_DString *ds)
err = FSRefMakePath(fsref, fileName, sizeof(fileName));
if (err == noErr) {
- Tcl_UtfToExternalDString(NULL, fileName, -1, ds);
+ Tcl_ExternalToUtfDString(NULL, fileName, -1, ds);
}
return err;
}