From 3c3f9a8042b9d681481eb1469dc1514833452f29 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 4 Mar 2015 10:21:36 +0100 Subject: cocoa: silence -Wlogical-op-parentheses --- osdep/macosx_events.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep') 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; -- cgit v1.2.3