- Timestamp:
- Jul 13, 2010, 3:02:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0x/gtk/details.c
r10940 r11003 786 786 for( i=0; i<n; ++i ) { 787 787 const tr_stat * st = stats[i]; 788 const tr_info * inf = infos[i]; 788 789 const double v = st->haveValid; 789 790 haveUnchecked += st->haveUnchecked; 790 791 haveValid += v; 791 verifiedPieces += v / tr_torrentInfo(torrents[i])->pieceSize;792 verifiedPieces += inf->pieceSize ? st->haveValid / inf->pieceSize : 0; 792 793 sizeWhenDone += st->sizeWhenDone; 793 794 leftUntilDone += st->leftUntilDone;
Note: See TracChangeset
for help on using the changeset viewer.