mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 11:40:47 +00:00
Minor bug fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5171 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5d3bd41d1c
commit
d7de540dc4
1 changed files with 1 additions and 1 deletions
|
@ -905,7 +905,7 @@ NSAssert([event retainCount] > 0, NSInternalInconsistencyException);
|
|||
/*
|
||||
* If target responds to the selector then have it perform it.
|
||||
*/
|
||||
if ([aTarget respondsToSelector: aSelector])
|
||||
if (aTarget && [aTarget respondsToSelector: aSelector])
|
||||
{
|
||||
[aTarget performSelector: aSelector withObject: sender];
|
||||
return YES;
|
||||
|
|
Loading…
Reference in a new issue