From f996f0ccbec32c2fc31730fd495ba6d4f633d5e0 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 15 Jul 2007 03:39:44 +0000 Subject: [PATCH] use file status instead of file progress for canChangeDownloadCheckForFiles: --- macosx/Torrent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index c13216745..6852cc87e 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -1305,7 +1305,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 int index; for (index = [indexSet firstIndex]; index != NSNotFound; index = [indexSet indexGreaterThanIndex: index]) - if ([self fileProgress: index] < 1.0) + if (tr_torrentGetFileStatus(fHandle, index) != TR_CP_COMPLETE) return YES; return NO; }