From e14b1b0d031ee15468cb23e7dd4775e86ca6b135 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 26 Jan 2013 19:55:26 +0000 Subject: [PATCH] remove another subscript usage --- macosx/FileListNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/FileListNode.m b/macosx/FileListNode.m index 61a14ce3f..295942013 100644 --- a/macosx/FileListNode.m +++ b/macosx/FileListNode.m @@ -142,7 +142,7 @@ { lookupPathComponents = [lookupPathComponents arrayByAddingObject: oldName]; const BOOL allSame = NSNotFound == [lookupPathComponents indexOfObjectWithOptions: NSEnumerationConcurrent passingTest: ^BOOL(NSString * name, NSUInteger idx, BOOL * stop) { - return ![name isEqualToString: thesePathComponents[idx]]; + return ![name isEqualToString: [thesePathComponents objectAtIndex: idx]]; }]; if (allSame)