summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2003-02-24 19:27:05 (GMT)
committerwolfsuit <wolfsuit>2003-02-24 19:27:05 (GMT)
commit5719ab8c9c954eb7784bb352ac645fe811a9662b (patch)
treea1d1e044b10605e7da3460e603f6166940edb438 /macosx/tkMacOSXDialog.c
parent0bd1e26fca31c23206e90ef9bed71483dfcb3982 (diff)
downloadtk-5719ab8c9c954eb7784bb352ac645fe811a9662b.zip
tk-5719ab8c9c954eb7784bb352ac645fe811a9662b.tar.gz
tk-5719ab8c9c954eb7784bb352ac645fe811a9662b.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.
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-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 ){