summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-11-04 10:37:33 (GMT)
committerdas <das>2007-11-04 10:37:33 (GMT)
commiteac3d70e173275c1ad2750419770d18828d49eb9 (patch)
treeff2bcb162997a174e86c226f700c396111d83486
parent4c7764c81ae8f6ef348f9b8b4840f36ea98b5c97 (diff)
downloadtk-eac3d70e173275c1ad2750419770d18828d49eb9.zip
tk-eac3d70e173275c1ad2750419770d18828d49eb9.tar.gz
tk-eac3d70e173275c1ad2750419770d18828d49eb9.tar.bz2
* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean arg
-rw-r--r--macosx/tkMacOSXEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXEvent.c b/macosx/tkMacOSXEvent.c
index 5f1c0e7..cc111fc 100644
--- a/macosx/tkMacOSXEvent.c
+++ b/macosx/tkMacOSXEvent.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: tkMacOSXEvent.c,v 1.21 2007/06/29 03:20:01 das Exp $
+ * RCS: @(#) $Id: tkMacOSXEvent.c,v 1.22 2007/11/04 10:37:33 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -243,7 +243,7 @@ TkMacOSXProcessCommandEvent(
(menuContext & kMenuContextMenuBarTracking)) {
TkMacOSXHandleMenuSelect(GetMenuID(command.menu.menuRef),
command.menu.menuItemIndex,
- GetCurrentEventKeyModifiers() & optionKey);
+ (GetCurrentEventKeyModifiers() & optionKey) != 0);
return 1;
}
} else {