remove another subscript usage

This commit is contained in:
Mitchell Livingston 2013-01-26 19:55:26 +00:00
parent 802d9d5892
commit e14b1b0d03
1 changed files with 1 additions and 1 deletions

View File

@ -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)