Changeset 13874


Ignore:
Timestamp:
Jan 26, 2013, 7:55:26 PM (8 years ago)
Author:
livings124
Message:

remove another subscript usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileListNode.m

    r13828 r13874  
    143143        lookupPathComponents = [lookupPathComponents arrayByAddingObject: oldName];
    144144        const BOOL allSame = NSNotFound == [lookupPathComponents indexOfObjectWithOptions: NSEnumerationConcurrent passingTest: ^BOOL(NSString * name, NSUInteger idx, BOOL * stop) {
    145             return ![name isEqualToString: thesePathComponents[idx]];
     145            return ![name isEqualToString: [thesePathComponents objectAtIndex: idx]];
    146146        }];
    147147       
Note: See TracChangeset for help on using the changeset viewer.