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