mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:01:57 +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;
|
id parentItem = (pItem == nil) ? (id)[NSNull null] : (id)pItem;
|
||||||
NSArray *children = NSMapGet(_itemDict, parentItem);
|
NSArray *children = NSMapGet(_itemDict, parentItem);
|
||||||
NSInteger childCount = [children count];
|
NSInteger childCount = [children count];
|
||||||
|
NSInteger index = 0;
|
||||||
for (NSInteger index = 0; index < childCount; index++)
|
|
||||||
|
for (index = 0; index < childCount; index++)
|
||||||
{
|
{
|
||||||
id childItem = [children objectAtIndex: index];
|
id childItem = [children objectAtIndex: index];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue