diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-08-13 17:32:35 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-08-13 17:32:35 +0400 |
commit | fc2b6a2b9d749c7a05c48ee2a423570eb3b9f3b6 (patch) | |
tree | 6e0ad8c4b43cb4286a7dad4c03a70f312a9ea7e0 /intern | |
parent | 3bbba7d2b13c4fffe69d566ec91a7ae53c340d36 (diff) |
OSX: fix paranthesis in last commit
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 3bef63a2cee..6fefb6a1de6 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -739,7 +739,7 @@ bool GHOST_SystemCocoa::processEvents(bool waitForEvent) // For some reason NSApp is swallowing the key up events when modifier // key is pressed, even if there seems to be no apparent reason to do // so, as a workaround we always handle these up events. - if ([event type] == NSKeyUp && (([event modifierFlags] & NSCommandKeyMask) || [event modifierFlags] & NSAlternateKeyMask)) + if ([event type] == NSKeyUp && (([event modifierFlags] & NSCommandKeyMask) || ([event modifierFlags] & NSAlternateKeyMask))) handleKeyEvent(event); [NSApp sendEvent:event]; |