[vlc-commits] macosx: simple prefs: fix assignment and visualization for space and esc key
David Fuhrmann
git at videolan.org
Tue Apr 9 22:17:49 CEST 2013
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Apr 9 21:56:03 2013 +0200| [027bd907fcb53cacd7f271f0c0d6f43b302fd579] | committer: David Fuhrmann
macosx: simple prefs: fix assignment and visualization for space and esc key
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=027bd907fcb53cacd7f271f0c0d6f43b302fd579
---
modules/gui/macosx/simple_prefs.m | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index d2c9b5a..af9198b 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -1450,6 +1450,10 @@ static inline void save_module_list(intf_thread_t * p_intf, id object, const cha
[tempString appendString:@"Delete"];
else if (key == NSBackspaceCharacter)
[tempString appendString:@"Backspace"];
+ else if (key == 0x001B)
+ [tempString appendString:@"Esc"];
+ else if (key == ' ')
+ [tempString appendString:@"Space"];
else if (![[[o_theEvent charactersIgnoringModifiers] lowercaseString] isEqualToString:@""]) //plain characters
[tempString appendString:[[o_theEvent charactersIgnoringModifiers] lowercaseString]];
else
More information about the vlc-commits
mailing list