summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit@noemail.net>2003-02-24 19:27:04 (GMT)
committerwolfsuit <wolfsuit@noemail.net>2003-02-24 19:27:04 (GMT)
commite977b4d0862cb665366e372186a6b964b8bcad22 (patch)
treea1d1e044b10605e7da3460e603f6166940edb438 /macosx
parent6f367479eccd0d27db8e00bccd24c726a6c4ea54 (diff)
downloadtk-e977b4d0862cb665366e372186a6b964b8bcad22.zip
tk-e977b4d0862cb665366e372186a6b964b8bcad22.tar.gz
tk-e977b4d0862cb665366e372186a6b964b8bcad22.tar.bz2
2003-02-24 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle. FossilOrigin-Name: 5908c90b20a369fd7f9f5d5c5cc5fc2c0617bf5f
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 3decc8a..6232e64 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.2 2002/08/31 06:12:29 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.3 2003/02/24 19:27:08 wolfsuit Exp $
*/
#include <Carbon/Carbon.h>
@@ -846,7 +846,7 @@ NavServicesGetFile(
}
if ((selectDescPtr != NULL)
&& (selectDescPtr->descriptorType != typeNull)) {
- NavCustomControl(dialogRef, kNavCtlSetSelection, &selectDescPtr);
+ NavCustomControl(dialogRef, kNavCtlSetSelection, selectDescPtr);
}
if ((err = NavDialogRun(dialogRef)) != noErr ){