From 747733096164aa5ea25487498c8dd5a867915ec3 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 12 Feb 2010 21:58:50 +0100 Subject: [PATCH] Fixed ResultOutline.selectedDupeCount(). --- cocoa/base/ResultOutline.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; } }