diff --git a/macosx/Torrent.m b/macosx/Torrent.m index d02e8c277..fa518dce6 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -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;