Fixed valueForKey: which was calling the wrong method to manage an

unbound key


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-05-06 15:47:01 +00:00
parent 07b96d25c0
commit c71b2daae9

View file

@ -1317,8 +1317,7 @@ GSGetValue(NSObject *self, NSString *key, SEL sel,
}
if (type == NULL)
{
[self handleTakeValue: nil forUnboundKey: key];
return nil;
return [self handleQueryWithUnboundKey: key];
}
else
{