Changeset 13871


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

don't access NSArrays using subscripts, since that requires the modern runtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13870 r13871  
    17471747    NSArray * selected = [fTableView selectedTorrents];
    17481748    NSAssert([selected count] == 1, @"1 transfer needs to be selected to rename, but %ld are selected", [selected count]);
    1749     Torrent * torrent = selected[0];
     1749    Torrent * torrent = [selected objectAtIndex:0];
    17501750   
    17511751    [FileRenameSheetController presentSheetForTorrent:torrent modalForWindow: fWindow completionHandler: ^(BOOL didRename) {
Note: See TracChangeset for help on using the changeset viewer.