Changeset 4913


Ignore:
Timestamp:
Feb 4, 2008, 4:30:23 AM (14 years ago)
Author:
charles
Message:

(gtk 1.0x) #680: "Reverse Sort Order" doesn't work for "Sort by Progress"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0x/gtk/tr_core.c

    r4643 r4913  
    175175{
    176176    if( a < b ) return -1;
    177     if( b > a ) return 1;
     177    if( b < a ) return 1;
    178178    return 0;
    179179}
     
    245245    ret = compareDouble( sa->percentDone, sb->percentDone );
    246246    if( !ret )
    247         ret = compareDouble( sa->ratio, sa->ratio );
     247        ret = compareDouble( sa->ratio, sb->ratio );
    248248    return ret;
    249249}
Note: See TracChangeset for help on using the changeset viewer.