summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authordas <das>2007-11-09 06:23:28 (GMT)
committerdas <das>2007-11-09 06:23:28 (GMT)
commit046c1f03c92c061e9c4fc3d2d69eb19377dbfd45 (patch)
tree16177b79828bace55c9902acb4dedd5a0e459e18 /macosx/tkMacOSXWm.c
parentf18cf4221d375a27e73ebef8c9191bf767eda405 (diff)
downloadtk-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/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 97a6362..d4f6502 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXWm.c,v 1.60 2007/10/26 10:36:42 das Exp $
+ * RCS: @(#) $Id: tkMacOSXWm.c,v 1.61 2007/11/09 06:23:29 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -574,8 +574,9 @@ wrongNumArgs:
!= TCL_OK) {
return TCL_ERROR;
}
- if (!Tk_IsTopLevel(winPtr) &&
- (index != WMOPT_MANAGE) && (index != WMOPT_FORGET)) {
+ if (!Tk_IsTopLevel(winPtr)
+ && (index != WMOPT_MANAGE) && (index != WMOPT_FORGET)
+ ) {
Tcl_AppendResult(interp, "window \"", winPtr->pathName,
"\" isn't a top-level window", NULL);
return TCL_ERROR;