mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-06-02 18:21:07 +00:00
* EOControl/EOKeyValueCoding.m
([NSArray-valueForKey:]): Readd special handling of @count. This make it WO45 compatible again. The intermediate behavoir broke many WO bindings. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26422 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d65675bd7c
commit
5f013951da
2 changed files with 13 additions and 3 deletions
|
@ -277,8 +277,11 @@ initialize(void)
|
|||
|
||||
INITIALIZE;
|
||||
|
||||
EOFLOGObjectFnStartCond(@"EOKVC");
|
||||
if ([key hasPrefix:@"@"])
|
||||
if ([key isEqual: @"count"] || [key isEqual: @"@count"])
|
||||
{
|
||||
result = [NSDecimalNumber numberWithUnsignedInt: [self count]];
|
||||
}
|
||||
else if ([key hasPrefix:@"@"])
|
||||
{
|
||||
NSString *selStr;
|
||||
NSString *attrStr;
|
||||
|
@ -317,7 +320,6 @@ initialize(void)
|
|||
defaultResult: GDL2_EONull];
|
||||
}
|
||||
|
||||
EOFLOGObjectFnStopCond(@"EOKVC");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue