summaryrefslogtreecommitdiff
path: root/src/nsmenu.m
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-08-15 19:36:45 +0200
committerJan Djärv <jan.h.d@swipnet.se>2013-08-15 19:36:45 +0200
commit63216c5ee19df8da21574fd5fbafeea8321433a9 (patch)
tree329ed4bc2dc4b8d93bec81ce462770c1cc822c13 /src/nsmenu.m
parent6f94cbbcb5cefde19de8fff03834f3c8cb5f6e6d (diff)
downloademacs-63216c5ee19df8da21574fd5fbafeea8321433a9.tar.gz
* nsmenu.m (menuWillOpen:): Fix preprocessor test.
Fixes: debbugs:15001
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r--src/nsmenu.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m
index 3266d76450c..5af813ac758 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -575,7 +575,7 @@ extern NSString *NSMenuDidBeginTrackingNotification;
{
++trackingMenu;
-#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_6
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
// On 10.6 we get repeated calls, only the one for NSSystemDefined is "real".
if ([[NSApp currentEvent] type] != NSSystemDefined) return;
#endif