use file status instead of file progress for canChangeDownloadCheckForFiles:

This commit is contained in:
Mitchell Livingston 2007-07-15 03:39:44 +00:00
parent 4311b160b5
commit f996f0ccbe
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}