Changeset 13426


Ignore:
Timestamp:
Aug 12, 2012, 2:10:18 PM (9 years ago)
Author:
livings124
Message:

don't use the convenient accessor functionality in file parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r13420 r13426  
    16811681            NSAssert1([pathComponents count] >= 2, @"Not enough components in path %@", fullPath);
    16821682           
    1683             NSString * path = pathComponents[0];
    1684             NSString * name = pathComponents[1];
     1683            NSString * path = [pathComponents objectAtIndex: 0];
     1684            NSString * name = [pathComponents objectAtIndex: 1];
    16851685           
    16861686            if ([pathComponents count] > 2)
     
    17361736    NSParameterAssert(componentIndex < [components count]);
    17371737   
    1738     NSString * name = components[componentIndex];
     1738    NSString * name = [components objectAtIndex: componentIndex];
    17391739    const BOOL isFolder = componentIndex < ([components count]-1);
    17401740   
Note: See TracChangeset for help on using the changeset viewer.