mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix ordering error
This commit is contained in:
@@ -2702,7 +2702,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
[sortedTorrents insertObject: [movingTorrents objectAtIndex: i] atIndex: insertIndex + i];
|
||||
|
||||
//redo order values
|
||||
for (i = insertIndex; i < [sortedTorrents count]; i++)
|
||||
for (i = 0; i < [sortedTorrents count]; i++)
|
||||
[[sortedTorrents objectAtIndex: i] setOrderValue: i];
|
||||
|
||||
[sortedTorrents release];
|
||||
|
||||
Reference in New Issue
Block a user