aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDataSource.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPConnectionControllerDataSource.m')
-rw-r--r--Source/SPConnectionControllerDataSource.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionControllerDataSource.m b/Source/SPConnectionControllerDataSource.m
index 91fd6398..e7fea0c6 100644
--- a/Source/SPConnectionControllerDataSource.m
+++ b/Source/SPConnectionControllerDataSource.m
@@ -45,11 +45,11 @@
return [[node childNodes] count];
}
-- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item
+- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)childIndex ofItem:(id)item
{
SPTreeNode *node = (item == nil ? favoritesRoot : (SPTreeNode *)item);
- return NSArrayObjectAtIndex([node childNodes], index);
+ return NSArrayObjectAtIndex([node childNodes], childIndex);
}
- (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item