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