* nsmenu.m (menuWillOpen:): Fix preprocessor test.
Fixes: debbugs:15001
This commit is contained in:
parent
6f94cbbcb5
commit
63216c5ee1
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue