Changeset 897 for trunk/dll/seeall.c
- Timestamp:
- Dec 31, 2007, 12:34:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/seeall.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r888 r897 31 31 26 Aug 07 GKY DosSleep(1) in loops changed to (0) 32 32 27 Sep 07 SHL Correct ULONGLONG size formatting 33 30 Dec 07 GKY Use CommaFmtULL 34 30 Dec 07 GKY Use TestFDates for comparing by date 33 35 34 36 ***********************************************************************/ … … 1572 1574 int ret; 1573 1575 1574 ret = (d1->date.year > d2->date.year) ? 1 : 1576 ret = TestFDates(NULL, NULL, 1577 &d2->date, &d2->time, 1578 &d1->date, &d1->time); 1579 /*(d1->date.year > d2->date.year) ? 1 : 1575 1580 (d1->date.year < d2->date.year) ? -1 : 1576 1581 (d1->date.month > d2->date.month) ? 1 : … … 1583 1588 (d1->time.minutes < d2->time.minutes) ? -1 : 1584 1589 (d1->time.twosecs > d2->time.twosecs) ? 1 : 1585 (d1->time.twosecs < d2->time.twosecs) ? -1 : 0; 1590 (d1->time.twosecs < d2->time.twosecs) ? -1 : 0;*/ 1586 1591 1587 1592 if (!ret) … … 2228 2233 ALLDATA *ad = WinQueryWindowPtr(hwnd, QWL_USER); 2229 2234 POINTL ptl; 2230 CHAR szBuff[CCHMAXPATH + 80] ;2235 CHAR szBuff[CCHMAXPATH + 80], szCmmaFmtFileSize[81]; 2231 2236 ULONG len, y; 2232 2237 … … 2262 2267 standardcolors[Colors[COLORS_NORMALBACK]]); 2263 2268 } 2264 // 27 Sep 07 SHL fixme to use CommaFmtULL 2269 CommaFmtULL(szCmmaFmtFileSize, 2270 sizeof(szCmmaFmtFileSize), ad->afindex[y]->cbFile, ' '); 2265 2271 len = sprintf(szBuff, 2266 "%c%-*.*s %-12 llu%c%c%c%c%c %04u/%02u/%02u %02u:%02u:%02u ",2272 "%c%-*.*s %-12s %c%c%c%c%c %04u/%02u/%02u %02u:%02u:%02u ", 2267 2273 whichfile == ad->cursored - 1 ? '>' : ' ', 2268 2274 ad->fullnames ? ad->longestw : ad->longest, … … 2270 2276 ad->fullnames ? ad->afindex[y]->fullname : 2271 2277 ad->afindex[y]->filename, 2272 ad->afindex[y]->cbFile,2278 szCmmaFmtFileSize, 2273 2279 "-A"[((ad->afindex[y]->attrFile & FILE_ARCHIVED) != 0)], 2274 2280 "-R"[((ad->afindex[y]->attrFile & FILE_READONLY) != 0)], … … 3345 3351 register ULONG x; 3346 3352 ULONG y, len, numlines; 3347 CHAR szBuff[CCHMAXPATH + 80] ;3353 CHAR szBuff[CCHMAXPATH + 80], szCmmaFmtFileSize[81]; 3348 3354 BOOL inverted, hidsys, reado, wascursored; 3349 3355 … … 3432 3438 standardcolors[Colors 3433 3439 [COLORS_CURSOREDNORMALBACK]]); 3434 // 27 Sep 07 SHL fixme to use CommaFmtULL 3440 CommaFmtULL(szCmmaFmtFileSize, 3441 sizeof(szCmmaFmtFileSize), pAD->afindex[y]->cbFile, ' '); 3435 3442 len = 3436 3443 sprintf(szBuff, 3437 "%c%-*.*s %-12 llu%c%c%c%c%c %04u/%02u/%02u %02u:%02u:%02u ",3444 "%c%-*.*s %-12s %c%c%c%c%c %04u/%02u/%02u %02u:%02u:%02u ", 3438 3445 wascursored ? '>' : ' ', 3439 3446 pAD->fullnames ? pAD->longestw : pAD->longest, 3440 3447 pAD->fullnames ? pAD->longestw : pAD->longest, 3441 3448 (pAD->fullnames) ? pAD->afindex[y]->fullname : pAD-> 3442 afindex[y]->filename, pAD->afindex[y]->cbFile,3449 afindex[y]->filename, szCmmaFmtFileSize, 3443 3450 "-A"[((pAD->afindex[y]->attrFile & FILE_ARCHIVED) != 3444 3451 0)],
Note:
See TracChangeset
for help on using the changeset viewer.
