Changeset 8800


Ignore:
Timestamp:
Jul 14, 2009, 12:11:50 AM (13 years ago)
Author:
livings124
Message:

count, not size

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r8796 r8800  
    17021702   
    17031703    NSUInteger index = 1;
    1704     if ([fTrackers size] > 0 && [[fTorrents objectAtIndex: 0] hasAddedTrackers])
     1704    if ([fTrackers count] > 0 && [[fTorrents objectAtIndex: 0] hasAddedTrackers])
    17051705    {
    17061706        for (; index < [fTrackers count]; index++)
  • trunk/macosx/Torrent.m

    r8795 r8800  
    827827{
    828828    //check if no user-added groups
    829     if ([trackers size] == 0 || [[trackers objectAtIndex: 0] intValue] != 0)
     829    if ([trackers count] == 0 || [[trackers objectAtIndex: 0] intValue] != 0)
    830830        fAddedTrackers = NO;
    831831   
Note: See TracChangeset for help on using the changeset viewer.