diff options
author | das <das> | 2007-11-09 06:23:28 (GMT) |
---|---|---|
committer | das <das> | 2007-11-09 06:23:28 (GMT) |
commit | 046c1f03c92c061e9c4fc3d2d69eb19377dbfd45 (patch) | |
tree | 16177b79828bace55c9902acb4dedd5a0e459e18 /macosx/tkMacOSXDialog.c | |
parent | f18cf4221d375a27e73ebef8c9191bf767eda405 (diff) | |
download | tk-046c1f03c92c061e9c4fc3d2d69eb19377dbfd45.zip tk-046c1f03c92c061e9c4fc3d2d69eb19377dbfd45.tar.gz tk-046c1f03c92c061e9c4fc3d2d69eb19377dbfd45.tar.bz2 |
* macosx/tkMacOSXButton.c: sync formatting, whitespace, copyright
* macosx/tkMacOSXDialog.c: with core-8-4-branch.
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXWm.c:
* xlib/xgc.c
* library/bgerror.tcl:
* library/console.tcl:
* library/menu.tcl:
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index cb0d474..5b50345 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.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: tkMacOSXDialog.c,v 1.34 2007/11/08 17:37:34 das Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.35 2007/11/09 06:23:29 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -270,7 +270,8 @@ Tk_GetOpenFileObjCmd( }; enum openOptions { OPEN_DEFAULT, OPEN_FILETYPES, OPEN_INITDIR, OPEN_INITFILE, - OPEN_MESSAGE, OPEN_MULTIPLE, OPEN_PARENT, OPEN_TITLE, OPEN_TYPEVARIABLE + OPEN_MESSAGE, OPEN_MULTIPLE, OPEN_PARENT, OPEN_TITLE, + OPEN_TYPEVARIABLE, }; if (!fileDlgInited) { @@ -352,11 +353,9 @@ Tk_GetOpenFileObjCmd( &selectDesc, &initialDesc) != TCL_OK) { goto end; } - if (initialDesc.descriptorType == typeFSRef) { initialPtr = &initialDesc; } - if (typeVariablePtr) { initialtype = Tcl_GetVar(interp, Tcl_GetString(typeVariablePtr), 0); } @@ -427,7 +426,7 @@ Tk_GetSaveFileObjCmd( }; enum saveOptions { SAVE_DEFAULT, SAVE_FILETYPES, SAVE_INITDIR, SAVE_INITFILE, - SAVE_MESSAGE, SAVE_PARENT, SAVE_TITLE, SAVE_TYPEVARIABLE + SAVE_MESSAGE, SAVE_PARENT, SAVE_TITLE, SAVE_TYPEVARIABLE, }; if (!fileDlgInited) { |