mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:30:47 +00:00
Check for sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9895 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
70076a5e4a
commit
279ef0f07b
4 changed files with 17 additions and 2 deletions
|
@ -150,7 +150,7 @@
|
|||
[_tag capitalizedString]];
|
||||
sel = NSSelectorFromString(selName);
|
||||
|
||||
if ([_src respondsToSelector: sel])
|
||||
if (sel && [_src respondsToSelector: sel])
|
||||
{
|
||||
[_src performSelector: sel withObject: _dst];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue