mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
fix infinite loop when quicklooking a collapsed group
This commit is contained in:
@@ -4085,7 +4085,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
//do in reverse to find torrent before group
|
||||
int row;
|
||||
for (row = NSMaxRange(visibleRows) - 1; row >= visibleRows.location; row--)
|
||||
for (row = NSMaxRange(visibleRows) - 1; row >= (int)visibleRows.location; row--)
|
||||
{
|
||||
id item = [fTableView itemAtRow: row];
|
||||
if ([item isKindOfClass: [Torrent class]] && [[(Torrent *)item dataLocation] isEqualToString: fullPath])
|
||||
|
||||
Reference in New Issue
Block a user