Changeset 1673 for trunk/dll/sortcnr.c


Ignore:
Timestamp:
Dec 30, 2012, 7:51:01 PM (13 years ago)
Author:
Gregg Young
Message:

Update to Doxygen comment style Ticket 55. Also some minor code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/sortcnr.c

    r1501 r1673  
    149149      ret =  TestCDates(&pCI1->date, &pCI1->time,
    150150                        &pCI2->date, &pCI2->time);
    151         /*(pCI1->date.year < pCI2->date.year) ? 1 :
    152         (pCI1->date.year > pCI2->date.year) ? -1 :
    153         (pCI1->date.month < pCI2->date.month) ? 1 :
    154         (pCI1->date.month > pCI2->date.month) ? -1 :
    155         (pCI1->date.day < pCI2->date.day) ? 1 :
    156         (pCI1->date.day > pCI2->date.day) ? -1 :
    157         (pCI1->time.hours < pCI2->time.hours) ? 1 :
    158         (pCI1->time.hours > pCI2->time.hours) ? -1 :
    159         (pCI1->time.minutes < pCI2->time.minutes) ? 1 :
    160         (pCI1->time.minutes > pCI2->time.minutes) ? -1 :
    161         (pCI1->time.seconds < pCI2->time.seconds) ? 1 :
    162         (pCI1->time.seconds > pCI2->time.seconds) ? -1 : 0;*/
    163151      break;
    164152
     
    166154      ret = TestCDates(&pCI1->ladate, &pCI1->latime,
    167155                       &pCI2->ladate, &pCI2->latime);
    168         /*(pCI1->ladate.year < pCI2->ladate.year) ? 1 :
    169         (pCI1->ladate.year > pCI2->ladate.year) ? -1 :
    170         (pCI1->ladate.month < pCI2->ladate.month) ? 1 :
    171         (pCI1->ladate.month > pCI2->ladate.month) ? -1 :
    172         (pCI1->ladate.day < pCI2->ladate.day) ? 1 :
    173         (pCI1->ladate.day > pCI2->ladate.day) ? -1 :
    174         (pCI1->latime.hours < pCI2->latime.hours) ? 1 :
    175         (pCI1->latime.hours > pCI2->latime.hours) ? -1 :
    176         (pCI1->latime.minutes < pCI2->latime.minutes) ? 1 :
    177         (pCI1->latime.minutes > pCI2->latime.minutes) ? -1 :
    178         (pCI1->latime.seconds < pCI2->latime.seconds) ? 1 :
    179         (pCI1->latime.seconds > pCI2->latime.seconds) ? -1 : 0;*/
    180156      break;
    181157
     
    183159      ret = TestCDates(&pCI1->crdate, &pCI1->crtime,
    184160                       &pCI2->crdate, &pCI2->crtime);
    185         /*(pCI1->crdate.year < pCI2->crdate.year) ? 1 :
    186         (pCI1->crdate.year > pCI2->crdate.year) ? -1 :
    187         (pCI1->crdate.month < pCI2->crdate.month) ? 1 :
    188         (pCI1->crdate.month > pCI2->crdate.month) ? -1 :
    189         (pCI1->crdate.day < pCI2->crdate.day) ? 1 :
    190         (pCI1->crdate.day > pCI2->crdate.day) ? -1 :
    191         (pCI1->crtime.hours < pCI2->crtime.hours) ? 1 :
    192         (pCI1->crtime.hours > pCI2->crtime.hours) ? -1 :
    193         (pCI1->crtime.minutes < pCI2->crtime.minutes) ? 1 :
    194         (pCI1->crtime.minutes > pCI2->crtime.minutes) ? -1 :
    195         (pCI1->crtime.seconds < pCI2->crtime.seconds) ? 1 :
    196         (pCI1->crtime.seconds > pCI2->crtime.seconds) ? -1 : 0;*/
    197161      break;
    198162    }
Note: See TracChangeset for help on using the changeset viewer.