1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(gtk) better sort-by-progress in the main window's torrent list

This commit is contained in:
Charles Kerr 2007-10-18 21:32:37 +00:00
parent c53f69ef25
commit 781c3e2efd

View file

@ -220,13 +220,13 @@ compareProgress( GtkTreeModel * model,
MC_UP, &uploadedEverB,
-1 );
ia = (int)( 100.0 * percentDoneA );
ib = (int)( 100.0 * percentDoneB );
ia = (int)( rateUpA + rateDownA );
ib = (int)( rateUpB + rateDownB );
if( ia != ib )
return ia - ib;
ia = (int)( rateUpA + rateDownA );
ib = (int)( rateUpB + rateDownB );
ia = (int)( 100.0 * percentDoneA );
ib = (int)( 100.0 * percentDoneB );
if( ia != ib )
return ia - ib;