* Source/NSXMLElement.m: in setChildren: set the childCount.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34432 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2012-01-06 03:21:10 +00:00
parent 98ed1c6763
commit e0b543f4ac
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-01-05 22:20-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: in setChildren: set the childCount.
2012-01-05 22:07-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: Correct warning in copyWithZone: added

View file

@ -229,6 +229,7 @@ GS_PRIVATE_INTERNAL(NSXMLElement)
NSXMLNode *n = nil;
ASSIGN(internal->children, c);
internal->childCount = [children count];
[c release];
while((n = [en nextObject]) != nil)
{