Permalink
Browse files

Fixed issue where hotkey handlers could return a value, which they sh…

…ouldn't
  • Loading branch information...
1 parent d2c15ee commit e165328d2d216e9430239ab1345f5f07ee13b636 @fjolnir committed Jan 22, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Hotkeys.tq
View
@@ -36,6 +36,7 @@ import "Carbon"
nil, hotkeyIdPtr = TQPointer withType:"{__EventHotKeyID=II}")
hotkeyId = (hotkeyIdPtr value)[1]
@hotkeyHandlers[hotkeyId-1] call
+ ^nil
}, 1, eventSpec, nil, @eventHandlerRef = TQPointer toVoid)
^err == 0
}

0 comments on commit e165328

Please sign in to comment.