changeset 6421:81e936460bc9

8008235: Fix for 8002114 is missing in jdk7u-dev Reviewed-by: serb, anthony
author leonidr
date Thu, 14 Feb 2013 22:49:55 +0400
parents d60db64c6435
children 2f5d66a7d930
files src/macosx/native/sun/awt/CMenuItem.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/CMenuItem.m	Thu Feb 14 14:14:19 2013 +0000
+++ b/src/macosx/native/sun/awt/CMenuItem.m	Thu Feb 14 22:49:55 2013 +0400
@@ -76,7 +76,7 @@
     NSEvent *currEvent = [[NSApplication sharedApplication] currentEvent];
     if ([currEvent type] == NSKeyDown) {
         NSString *menuKey = [sender keyEquivalent];
-        NSString *eventKey = [currEvent characters];
+        NSString *eventKey = [currEvent charactersIgnoringModifiers];
         if ([menuKey isEqualToString:eventKey]) {
             return;
         }