mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +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;
|
str = none;
|
||||||
else {
|
else {
|
||||||
const time_t baseline = stats[0]->startDate;
|
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 )
|
if( baseline != stats[i]->startDate )
|
||||||
break;
|
break;
|
||||||
if( !stats[i]->finished )
|
|
||||||
allFinished = FALSE;
|
|
||||||
}
|
|
||||||
if( i != n )
|
if( i != n )
|
||||||
str = mixed;
|
str = mixed;
|
||||||
else if( ( baseline<=0 ) || ( stats[0]->activity == TR_STATUS_STOPPED ) )
|
else if( ( baseline<=0 ) || ( stats[0]->activity == TR_STATUS_STOPPED ) )
|
||||||
|
|
Loading…
Reference in a new issue