diff options
author | das <das> | 2007-11-04 10:37:33 (GMT) |
---|---|---|
committer | das <das> | 2007-11-04 10:37:33 (GMT) |
commit | eac3d70e173275c1ad2750419770d18828d49eb9 (patch) | |
tree | ff2bcb162997a174e86c226f700c396111d83486 /macosx | |
parent | 4c7764c81ae8f6ef348f9b8b4840f36ea98b5c97 (diff) | |
download | tk-eac3d70e173275c1ad2750419770d18828d49eb9.zip tk-eac3d70e173275c1ad2750419770d18828d49eb9.tar.gz tk-eac3d70e173275c1ad2750419770d18828d49eb9.tar.bz2 |
* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): fix boolean arg
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXEvent.c | 4 |
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 { |