diff --git a/Source/NSMenu.m b/Source/NSMenu.m index 83b309eba..6136ae93c 100644 --- a/Source/NSMenu.m +++ b/Source/NSMenu.m @@ -735,7 +735,7 @@ static NSNotificationCenter *nc; [nc postNotificationName: NSMenuWillSendActionNotification object: self userInfo: d]; - if (NULL != (action = [item action])) + if ((action = [item action]) != NULL) { [NSApp sendAction: action to: [item target]