mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Merge branch 'master' of github.com:gnustep/libs-base into UnitsOfMeasure
This commit is contained in:
commit
679965e402
4 changed files with 22 additions and 5 deletions
|
@ -1350,7 +1350,14 @@ compareIt(id o1, id o2, void* context)
|
|||
|
||||
- (void) setObject: (id)anObject forKeyedSubscript: (id)aKey
|
||||
{
|
||||
[self setObject: anObject forKey: aKey];
|
||||
if (anObject == nil)
|
||||
{
|
||||
[self removeObjectForKey: aKey];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self setObject: anObject forKey: aKey];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue