diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-03-04 10:21:36 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-03-04 10:21:36 +0100 |
commit | 3c3f9a8042b9d681481eb1469dc1514833452f29 (patch) | |
tree | b4651f94f9be1cebb9cd431da06ed37b5b4ecdb6 | |
parent | c028d782c1eec46e2416da483881f1d0b27c2be8 (diff) | |
download | mpv-3c3f9a8042b9d681481eb1469dc1514833452f29.tar.bz2 mpv-3c3f9a8042b9d681481eb1469dc1514833452f29.tar.xz |
cocoa: silence -Wlogical-op-parentheses
-rw-r--r-- | osdep/macosx_events.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index 026f3777d1..23a3e02355 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -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; |