summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXEvent.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-11-05 14:24:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-11-05 14:24:16 (GMT)
commitad604020165fcc7705d4e29258e936e25eece01a (patch)
tree64d98c8c7c13ff311bc7179c99808fbb9e2a647c /macosx/tkMacOSXEvent.c
parent9d5c1ed7b432d032a20a92a500639fd69160ee6a (diff)
downloadtk-ad604020165fcc7705d4e29258e936e25eece01a.zip
tk-ad604020165fcc7705d4e29258e936e25eece01a.tar.gz
tk-ad604020165fcc7705d4e29258e936e25eece01a.tar.bz2
merge updates from HEAD
Diffstat (limited to 'macosx/tkMacOSXEvent.c')
-rw-r--r--macosx/tkMacOSXEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXEvent.c b/macosx/tkMacOSXEvent.c
index b4e1b31..940c48f 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.16.2.4 2007/07/01 17:31:32 dgp Exp $
+ * RCS: @(#) $Id: tkMacOSXEvent.c,v 1.16.2.5 2007/11/05 14:24:18 dgp 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 {