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:
nico 2001-05-06 15:47:01 +00:00
parent 75706e5a9a
commit 52480af184

View file

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