From f8b13261016307945c8ae54a4e030e2aac885eff Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 14 Mar 2009 20:11:17 +0000 Subject: [PATCH] allDownloaded should look at leftUntilDone, not percentDone --- macosx/Torrent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 8fdcb4de7..12183f09c 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -935,7 +935,7 @@ int trashDataFile(const char * filename) - (BOOL) allDownloaded { - return [self progressDone] >= 1.0; + return [self sizeLeft] > 0; } - (BOOL) isComplete