diff options
author | vincentdarley <vincentdarley> | 2002-10-16 09:51:54 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2002-10-16 09:51:54 (GMT) |
commit | fe92af5d800783c0c094c38d612c2689223bd2a4 (patch) | |
tree | 1ba3342a871b66d86d08268ab4b1e6fc2f6ce0d8 /macosx | |
parent | 03f367635727f9495842c09482cba28c630eb31f (diff) | |
download | tk-fe92af5d800783c0c094c38d612c2689223bd2a4.zip tk-fe92af5d800783c0c094c38d612c2689223bd2a4.tar.gz tk-fe92af5d800783c0c094c38d612c2689223bd2a4.tar.bz2 |
macosx menu accelerator fix
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 401bce5..2c8f173 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.3 2002/09/09 23:52:02 hobbs Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.4 2002/10/16 09:51:54 vincentdarley Exp $ */ #include "tkMacOSXInt.h" #include "tkMenuButton.h" @@ -1232,10 +1232,8 @@ ReconfigureIndividualMenu( } if (glyph != 0x0) { SetMenuItemKeyGlyph(macMenuHdl, base + index, glyph); - if (modifiers == 0) { - if (!hasCmd) { - modifiers |= kMenuNoCommandModifier; - } + if (!hasCmd) { + modifiers |= kMenuNoCommandModifier; } } } |