mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 06:02:27 +00:00
* 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:
parent
774cd36acb
commit
ce6ccc0662
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
2012-01-05 22:07-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/NSXMLElement.m: Correct warning in copyWithZone: added
|
* Source/NSXMLElement.m: Correct warning in copyWithZone: added
|
||||||
|
|
|
@ -229,6 +229,7 @@ GS_PRIVATE_INTERNAL(NSXMLElement)
|
||||||
NSXMLNode *n = nil;
|
NSXMLNode *n = nil;
|
||||||
|
|
||||||
ASSIGN(internal->children, c);
|
ASSIGN(internal->children, c);
|
||||||
|
internal->childCount = [children count];
|
||||||
[c release];
|
[c release];
|
||||||
while((n = [en nextObject]) != nil)
|
while((n = [en nextObject]) != nil)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue