aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutMonitor.m
diff options
context:
space:
mode:
authorTomáš Znamenáček2014-08-07 14:04:32 +0200
committerTomáš Znamenáček2015-01-07 15:42:22 +0100
commit6128e529ea5c0d09de65dcbbc00a299f6b871735 (patch)
tree319c8bd2a99055a6185c3c742fb1caa9531cecd9 /Framework/MASShortcutMonitor.m
parent80808eb6d7590dc2f4ed0bd3f5873c7472010a7b (diff)
downloadMASShortcut-6128e529ea5c0d09de65dcbbc00a299f6b871735.tar.bz2
Whitespace fixes.
Diffstat (limited to 'Framework/MASShortcutMonitor.m')
-rw-r--r--Framework/MASShortcutMonitor.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Framework/MASShortcutMonitor.m b/Framework/MASShortcutMonitor.m
index d175b82..cb89ce1 100644
--- a/Framework/MASShortcutMonitor.m
+++ b/Framework/MASShortcutMonitor.m
@@ -71,13 +71,13 @@ static OSStatus MASCarbonEventCallback(EventHandlerCallRef, EventRef, void*);
- (void) handleEvent: (EventRef) event
{
- if (GetEventClass(event) != kEventClassKeyboard) {
+ if (GetEventClass(event) != kEventClassKeyboard) {
return;
}
- EventHotKeyID hotKeyID;
- OSStatus status = GetEventParameter(event, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(hotKeyID), NULL, &hotKeyID);
- if (status != noErr || hotKeyID.signature != MASHotKeySignature) {
+ EventHotKeyID hotKeyID;
+ OSStatus status = GetEventParameter(event, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(hotKeyID), NULL, &hotKeyID);
+ if (status != noErr || hotKeyID.signature != MASHotKeySignature) {
return;
}