eliminate dependancy on cpstatus

This commit is contained in:
Mitchell Livingston 2007-10-15 18:20:39 +00:00
parent 161f60d519
commit caee274e6e
1 changed files with 2 additions and 2 deletions

View File

@ -744,12 +744,12 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
- (BOOL) allDownloaded
{
return fStat->cpStatus != TR_CP_INCOMPLETE;
return [self progressDone] >= 1.0;
}
- (BOOL) isComplete
{
return fStat->cpStatus == TR_CP_COMPLETE;
return [self progress] >= 1.0;
}
- (BOOL) isError