summaryrefslogtreecommitdiff
path: root/macosx/hotkeys.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/hotkeys.m')
-rwxr-xr-xmacosx/hotkeys.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/hotkeys.m b/macosx/hotkeys.m
index 9ae83047..066ecc1d 100755
--- a/macosx/hotkeys.m
+++ b/macosx/hotkeys.m
@@ -88,7 +88,7 @@ BOOL handleHotkey(NSString* keyCode) {
void setupHotkey(int hk, NSString *label, NSDictionary *binding) {
if(binding != nil)
- [hotkeys setObject:[NSNumber numberWithInt:hk] forKey:[binding objectForKey:@"keyCode"]];
+ [hotkeys setObject:@(hk) forKey:[binding objectForKey:@"keyCode"]];
}
void setupHotkeys() {