mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(trunk gtk) tweak details.c again :)
This commit is contained in:
parent
af09bb2853
commit
14411f9694
1 changed files with 1 additions and 5 deletions
|
@ -695,13 +695,9 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** torrents, int n )
|
|||
str = none;
|
||||
else {
|
||||
const time_t baseline = stats[0]->startDate;
|
||||
tr_bool allFinished = stats[0]->finished;
|
||||
for( i=1; i<n; ++i ) {
|
||||
for( i=1; i<n; ++i )
|
||||
if( baseline != stats[i]->startDate )
|
||||
break;
|
||||
if( !stats[i]->finished )
|
||||
allFinished = FALSE;
|
||||
}
|
||||
if( i != n )
|
||||
str = mixed;
|
||||
else if( ( baseline<=0 ) || ( stats[0]->activity == TR_STATUS_STOPPED ) )
|
||||
|
|
Loading…
Reference in a new issue