diff --git a/cocoa/base/ResultOutline.m b/cocoa/base/ResultOutline.m index ae70a9bd..eaeac4d3 100644 --- a/cocoa/base/ResultOutline.m +++ b/cocoa/base/ResultOutline.m @@ -67,8 +67,8 @@ http://www.hardcoded.net/licenses/hs_license } else { NSInteger r = 0; - for (NSArray *path in selected) { - if ([path count] == 2) { + for (NSIndexPath *path in selected) { + if ([path length] == 2) { r++; } }