mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
* Source/GSXibLoader.m: Correct issue with reuse of enumerator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35494 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a618ee1ac1
commit
7d65149660
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-09-02 13:56-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSXibLoader.m: Correct issue with reuse of enumerator.
|
||||
|
||||
2012-08-31 16:33-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSXibLoader.m: Cover case where there are no changes.
|
||||
|
|
|
@ -1064,8 +1064,8 @@
|
|||
if([objectRecords count] > 0)
|
||||
{
|
||||
id record = nil;
|
||||
en = [objectRecords objectEnumerator];
|
||||
while((record = [en nextObject]) != nil)
|
||||
NSEnumerator *oen = [objectRecords objectEnumerator];
|
||||
while((record = [oen nextObject]) != nil)
|
||||
{
|
||||
if([[[record attributeForName:@"key"] stringValue] isEqualToString:@"object"])
|
||||
{
|
||||
|
@ -1084,13 +1084,13 @@
|
|||
// NSLog(@"%@",classNode);
|
||||
[[classNode attributeForName:@"class"] setStringValue:className];
|
||||
// NSLog(@"Changed %@",classNode);
|
||||
result = [document XMLData];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
result = [document XMLData];
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue