mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
tweak the value of haveDone as per BentMyWookie's suggestion
This commit is contained in:
parent
8805366e28
commit
fbc7cde718
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ tr_cpEnsureDoneValid( const tr_completion * ccp )
|
|||
cp->doneDirty = FALSE;
|
||||
|
||||
for( i=0; i<info->pieceCount; ++i ) {
|
||||
if( !info->pieces[i].dnd ) {
|
||||
if( tr_cpPieceIsComplete( ccp, i ) || !info->pieces[i].dnd ) {
|
||||
total += info->pieceSize;
|
||||
have += cp->completeBlocks[ i ];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue