mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
count, not size
This commit is contained in:
@@ -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]])
|
||||
|
||||
Reference in New Issue
Block a user