mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
* Source/NSMenuItemCell.m (-_keyEquivalentString): Fix the 'and' check so that shiftKeyString can display (#190)
This commit is contained in:
parent
570f2b4d2a
commit
d99c96efcc
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ static NSString *commandKeyString = @"#";
|
|||
else
|
||||
{
|
||||
// shift mask and not an upper case string?
|
||||
shift = (m & NSShiftKeyMask) & ![key isEqualToString: ucKey];
|
||||
shift = (m & NSShiftKeyMask) && ![key isEqualToString: ucKey];
|
||||
key = [NSString stringWithFormat:@"%@%@%@%@%@",
|
||||
(m & NSControlKeyMask) ? controlKeyString : @"",
|
||||
(m & NSAlternateKeyMask) ? alternateKeyString : @"",
|
||||
|
|
Loading…
Reference in a new issue