mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
cocoa: silence -Wlogical-op-parentheses
(cherry picked from commit 3c3f9a8042
)
This commit is contained in:
parent
83119f05c4
commit
21a90cc49c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user