count, not size

This commit is contained in:
Mitchell Livingston
2009-07-14 00:11:50 +00:00
parent f443d6d113
commit 1170ac2c73
2 changed files with 2 additions and 2 deletions

View File

@@ -1701,7 +1701,7 @@ typedef enum
[[self window] makeKeyWindow];
NSUInteger index = 1;
if ([fTrackers size] > 0 && [[fTorrents objectAtIndex: 0] hasAddedTrackers])
if ([fTrackers count] > 0 && [[fTorrents objectAtIndex: 0] hasAddedTrackers])
{
for (; index < [fTrackers count]; index++)
if ([[fTrackers objectAtIndex: index] isKindOfClass: [NSNumber class]])