1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 07:03:44 +00:00
This commit is contained in:
Mitchell Livingston 2008-06-24 04:00:39 +00:00
parent 94f08e3074
commit ecab0ddc15

View file

@ -382,7 +382,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
}
- (float) progressStopRatio
{return 0.5;
{
float stopRatio, ratio;
if ((stopRatio = [self actualStopRatio]) == INVALID || (ratio = [self ratio]) >= stopRatio)
return 1.0;