cocoa: silence -Wlogical-op-parentheses

(cherry picked from commit 3c3f9a8042)
This commit is contained in:
Stefano Pigozzi 2015-03-04 10:21:36 +01:00 committed by Diogo Franco (Kovensky)
parent 83119f05c4
commit 21a90cc49c
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ void cocoa_set_input_context(struct input_ctx *input_context)
if (cocoaModifiers & NSControlKeyMask)
mask |= MP_KEY_MODIFIER_CTRL;
if (LeftAltPressed(cocoaModifiers) ||
RightAltPressed(cocoaModifiers) && ![self useAltGr])
(RightAltPressed(cocoaModifiers) && ![self useAltGr]))
mask |= MP_KEY_MODIFIER_ALT;
if (cocoaModifiers & NSCommandKeyMask)
mask |= MP_KEY_MODIFIER_META;