1
0
Fork 0
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:
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;
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 ) )