Tidied code

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13886 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-06-14 12:28:49 +00:00
parent 6ffaeb7738
commit 414d38ddd8

View file

@ -735,7 +735,7 @@ static NSNotificationCenter *nc;
[nc postNotificationName: NSMenuWillSendActionNotification [nc postNotificationName: NSMenuWillSendActionNotification
object: self object: self
userInfo: d]; userInfo: d];
if (NULL != (action = [item action])) if ((action = [item action]) != NULL)
{ {
[NSApp sendAction: action [NSApp sendAction: action
to: [item target] to: [item target]