diff options
| author | Tomáš Znamenáček | 2014-08-07 14:04:32 +0200 |
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-07 15:42:22 +0100 |
| commit | 6128e529ea5c0d09de65dcbbc00a299f6b871735 (patch) | |
| tree | 319c8bd2a99055a6185c3c742fb1caa9531cecd9 /Framework/MASShortcutMonitor.m | |
| parent | 80808eb6d7590dc2f4ed0bd3f5873c7472010a7b (diff) | |
| download | MASShortcut-6128e529ea5c0d09de65dcbbc00a299f6b871735.tar.bz2 | |
Whitespace fixes.
Diffstat (limited to 'Framework/MASShortcutMonitor.m')
| -rw-r--r-- | Framework/MASShortcutMonitor.m | 8 |
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; } |
