mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Check for nil passed to isEqual:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3039 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5b3502709a
commit
50e19ff74b
2 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,8 @@
|
|||
Class c;
|
||||
if (anObject == self)
|
||||
return YES;
|
||||
if (anObject == nil)
|
||||
return NO;
|
||||
c = fastClassOfInstance(anObject);
|
||||
if (c == _fastCls._NSGString || c == _fastCls._NSGMutableString)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue