Changeset 897 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Dec 31, 2007, 12:34:00 AM (18 years ago)
Author:
Gregg Young
Message:

Use CommaFmtULL for additional file, EA etc sizes display; Modify/Create TestFDates & TestCDates for comparing/sorting files or CNRITEMS by date/time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r888 r897  
    4848  26 Aug 07 GKY DosSleep(1) in loops changed to (0)
    4949  22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus
     50  30 Dec 07 GKY Use TestCDates for sort by date
    5051
    5152***********************************************************************/
     
    269270
    270271    case SORT_LWDATE:
    271       ret = (pai1->date.year < pai2->date.year) ? 1 :
     272      ret = TestCDates(&pai1->date, &pai1->time,
     273                       &pai2->date, &pai2->time);
     274        /*(pai1->date.year < pai2->date.year) ? 1 :
    272275        (pai1->date.year > pai2->date.year) ? -1 :
    273276        (pai1->date.month < pai2->date.month) ? 1 :
     
    280283        (pai1->time.minutes > pai2->time.minutes) ? -1 :
    281284        (pai1->time.seconds < pai2->time.seconds) ? 1 :
    282         (pai1->time.seconds > pai2->time.seconds) ? -1 : 0;
     285        (pai1->time.seconds > pai2->time.seconds) ? -1 : 0;*/
    283286      break;
    284287
Note: See TracChangeset for help on using the changeset viewer.