mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([NSDictionary -allKeysForObject:]): Ask SELF for objectForKey:, not K.
(Reported by Robert Quillen <rquillen@csugrad.cs.vt.edu>). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1335 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dfdb72ccb1
commit
6d43bc6533
1 changed files with 2 additions and 2 deletions
|
@ -229,9 +229,9 @@ static Class NSMutableDictionary_concrete_class;
|
|||
int c = 0;
|
||||
|
||||
while ((k = [e nextObject]))
|
||||
if ([anObject isEqual:[k objectForKey:k]])
|
||||
if ([anObject isEqual: [self objectForKey: k]])
|
||||
a[c++] = k;
|
||||
return [[[NSArray alloc] initWithObjects:a count:c]
|
||||
return [[[NSArray alloc] initWithObjects: a count: c]
|
||||
autorelease];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue