mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:40:47 +00:00
Fix compilation error
This commit is contained in:
parent
a1b9dc546e
commit
d694efc941
1 changed files with 3 additions and 2 deletions
|
@ -1748,8 +1748,9 @@ Also returns the child index relative to this parent. */
|
|||
id parentItem = (pItem == nil) ? (id)[NSNull null] : (id)pItem;
|
||||
NSArray *children = NSMapGet(_itemDict, parentItem);
|
||||
NSInteger childCount = [children count];
|
||||
|
||||
for (NSInteger index = 0; index < childCount; index++)
|
||||
NSInteger index = 0;
|
||||
|
||||
for (index = 0; index < childCount; index++)
|
||||
{
|
||||
id childItem = [children objectAtIndex: index];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue