mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
better cope with null selectors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31178 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
658003a847
commit
fbbfb632c8
4 changed files with 21 additions and 6 deletions
|
@ -147,7 +147,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
{
|
||||
struct objc_method *mth;
|
||||
|
||||
if (aSelector == 0)
|
||||
if (0 == aSelector)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
@ -393,7 +393,7 @@ extern BOOL __objc_responds_to(id, SEL);
|
|||
{
|
||||
struct objc_method *mth;
|
||||
|
||||
if (aSelector == 0)
|
||||
if (0 == aSelector)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue