From ef0d3a8b26df2e8af5152f986f74dff4ea019ce8 Mon Sep 17 00:00:00 2001 From: das Date: Tue, 25 Feb 2003 16:11:22 +0000 Subject: * macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl) --- macosx/tkMacOSXHLEvents.c | 4 ++-- 1 file 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; } -- cgit v0.12