diff options
author | vincentdarley <vincentdarley> | 2002-07-18 23:45:18 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2002-07-18 23:45:18 (GMT) |
commit | 235b71b841c362bc965ce1de8d8cb30e17a281b5 (patch) | |
tree | 68074bc6c225ae7e6a8c3083045ef9218e160119 /macosx/tkMacOSXDialog.c | |
parent | b027a144a0fc7c96a3af713e8c0fd34dca0bdfd5 (diff) | |
download | tk-235b71b841c362bc965ce1de8d8cb30e17a281b5.zip tk-235b71b841c362bc965ce1de8d8cb30e17a281b5.tar.gz tk-235b71b841c362bc965ce1de8d8cb30e17a281b5.tar.bz2 |
encodings, events
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 5de92e1..81b7d24 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.1.2.3 2002/02/05 02:25:17 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.1.2.4 2002/07/18 23:45:18 vincentdarley Exp $ */ #include <Carbon/Carbon.h> @@ -121,7 +121,6 @@ Tk_ChooseColorObjCmd( Tk_Window parent; char *title; int i, picked, srcRead, dstWrote; - OSErr err; ColorPickerInfo cpinfo; static int inited = 0; static RGBColor in; @@ -906,6 +905,7 @@ NavServicesGetFile( pathValid = 1; } if (pathValid) { + /* Tested this and NULL=utf-8 encoding is good here */ Tcl_ExternalToUtfDString(NULL, pathPtr, -1, &fileName); if (multiple) { Tcl_ListObjAppendElement(interp, theResult, |