Ignore:
Timestamp:
Oct 20, 2007, 9:27:46 PM (15 years ago)
Author:
livings124
Message:

eliminate the redundant isPaused, instead using !isActive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r3483 r3485  
    730730- (BOOL) isActive
    731731{
    732     return fStat->status & TR_STATUS_ACTIVE;
     732    return fStat->status != TR_STATUS_STOPPED;
    733733}
    734734
     
    736736{
    737737    return fStat->status == TR_STATUS_SEED || fStat->status == TR_STATUS_DONE;
    738 }
    739 
    740 - (BOOL) isPaused
    741 {
    742     return fStat->status == TR_STATUS_STOPPED;
    743738}
    744739
Note: See TracChangeset for help on using the changeset viewer.