Changeset 4914


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_core.c

    r4739 r4914  
    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.