mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Do not call handler blocks if they are nil
This commit is contained in:
parent
e68b97d58b
commit
5b151c5fa0
12 changed files with 32 additions and 33 deletions
|
@ -120,7 +120,7 @@ static BOOL initialized = NO;
|
|||
}
|
||||
else
|
||||
{
|
||||
result = CALL_BLOCK(((NSComparator)_comparator), comparedKey1, comparedKey2);
|
||||
result = CALL_NON_NULL_BLOCK(((NSComparator)_comparator), comparedKey1, comparedKey2);
|
||||
}
|
||||
|
||||
if (_ascending == NO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue