1
0
Fork 0
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:
Charles Kerr 2010-04-06 04:59:36 +00:00
parent af09bb2853
commit 14411f9694

View file

@ -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 ) )