* nsmenu.m (menuWillOpen:): Fix preprocessor test.

Fixes: debbugs:15001
This commit is contained in:
Jan Djärv 2013-08-15 19:36:45 +02:00
parent 6f94cbbcb5
commit 63216c5ee1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-08-15 Jan Djärv <jan.h.d@swipnet.se>
* nsmenu.m (menuWillOpen:): Fix preprocessor test (Bug#15001).
2013-08-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* image.c (imagemagick_compute_animated_image): Respect the GIF

View file

@ -575,7 +575,7 @@ - (void)menuWillOpen:(NSMenu *)menu
{
++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