Changeset 8830


Ignore:
Timestamp:
Jul 18, 2009, 1:04:27 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) #2286: wrong display of the percentage downloaded in the Properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r8808 r8830  
    792792        else {
    793793            char unver[64], total[64];
    794             const double ratio = 100.0 * ( leftUntilDone ? ( haveValid + haveUnchecked ) / leftUntilDone : 1 );
     794            const double ratio = 100.0 * ( leftUntilDone ? ( haveValid + haveUnchecked ) / sizeWhenDone : 1 );
    795795            tr_strlsize( total, haveUnchecked + haveValid, sizeof( total ) );
    796796            tr_strlsize( unver, haveUnchecked,             sizeof( unver ) );
Note: See TracChangeset for help on using the changeset viewer.