mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Quick fix for compilation error
This commit is contained in:
parent
fda74bfde8
commit
937c309c15
1 changed files with 4 additions and 2 deletions
|
@ -176,11 +176,13 @@
|
|||
if (success && topLevelObjects && [table objectForKey: NSNibTopLevelObjects])
|
||||
{
|
||||
*topLevelObjects = [table objectForKey: NSNibTopLevelObjects];
|
||||
FOR_IN(NSObject*, obj, *topLevelObjects)
|
||||
NSEnumerator *en = [*topLevelObjects objectEnumerator];
|
||||
id obj = nil;
|
||||
|
||||
while ((obj = [en nextObject]) != nil)
|
||||
{
|
||||
AUTORELEASE(obj);
|
||||
}
|
||||
END_FOR_IN(*topLevelObjects);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue