1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00
This commit is contained in:
Charles Kerr 2008-04-27 06:44:39 +00:00
parent 2f3eba4b01
commit 3b27e2d2af

View file

@ -304,7 +304,7 @@ tr_cpHaveTotal( const tr_completion * cp )
void
tr_cpGetAmountDone( const tr_completion * cp, float * tab, int tabCount )
{
const int tabSpan = tabCount / cp->tor->blockCount;
const int tabSpan = cp->tor->blockCount / tabCount;
tr_block_index_t block_i = 0;
int tab_i;
for( tab_i=0; tab_i<tabCount; ++tab_i ) {