vlc | branch: master | David Fuhrmann <[email protected]> | Tue Jul 
 3 13:28:20 2012 +0200| [837e3ea601dc4d84c66dacd0dff5a8a250b9302f] | committer: 
David Fuhrmann

macosx: fix handling of shortcuts which include shift

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=837e3ea601dc4d84c66dacd0dff5a8a250b9302f
---

 modules/gui/macosx/intf.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index c0572f3..ae2603e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1337,7 +1337,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
         val.i_int |= KEY_MODIFIER_COMMAND;
     }
 
-    key = [[o_event charactersIgnoringModifiers] characterAtIndex: 0];
+    key = [[[o_event charactersIgnoringModifiers] lowercaseString] 
characterAtIndex: 0];
 
     /* handle Lion's default key combo for fullscreen-toggle in addition to 
our own hotkeys */
     if( key == 'f' && i_pressed_modifiers & NSControlKeyMask && 
i_pressed_modifiers & NSCommandKeyMask )

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to