Changeset 897 for trunk/dll/comp.c
- Timestamp:
- Dec 31, 2007, 12:34:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r888 r897 39 39 26 Aug 07 GKY DosSleep(1) in loops changed to (0) 40 40 27 Sep 07 SHL Correct ULONGLONG size formatting 41 30 Dec 07 GKY Use TestCDates for compare by file date/time 41 42 42 43 ***********************************************************************/ … … 931 932 INT numallocl = 0; 932 933 INT numallocr = 0; 934 INT ret = 0; 933 935 UINT lenl; // Directory prefix length 934 936 UINT lenr; … … 1289 1291 strcpy(pch, GetPString(IDS_SMALLERTEXT)); 1290 1292 pch += 7; 1291 } 1292 if ((pcil->date.year > pcir->date.year) ? TRUE : 1293 } 1294 ret = TestCDates(&pcir->date, &pcir->time, 1295 &pcil->date, &pcil->time); 1296 if (ret == 1) 1297 /*((pcil->date.year > pcir->date.year) ? TRUE : 1293 1298 (pcil->date.year < pcir->date.year) ? FALSE : 1294 1299 (pcil->date.month > pcir->date.month) ? TRUE : … … 1301 1306 (pcil->time.minutes < pcir->time.minutes) ? FALSE : 1302 1307 (pcil->time.seconds > pcir->time.seconds) ? TRUE : 1303 (pcil->time.seconds < pcir->time.seconds) ? FALSE : FALSE) {1308 (pcil->time.seconds < pcir->time.seconds) ? FALSE : FALSE)*/ { 1304 1309 pcil->flags |= CNRITEM_NEWER; 1305 1310 pcir->flags |= CNRITEM_OLDER; … … 1311 1316 pch += 5; 1312 1317 } 1313 else if ((pcil->date.year < pcir->date.year) ? TRUE : 1318 else if (ret == -1) 1319 /*((pcil->date.year < pcir->date.year) ? TRUE : 1314 1320 (pcil->date.year > pcir->date.year) ? FALSE : 1315 1321 (pcil->date.month < pcir->date.month) ? TRUE : … … 1323 1329 (pcil->time.seconds < pcir->time.seconds) ? TRUE : 1324 1330 (pcil->time.seconds > pcir->time.seconds) ? FALSE : 1325 FALSE) {1331 FALSE)*/ { 1326 1332 pcil->flags |= CNRITEM_OLDER; 1327 1333 pcir->flags |= CNRITEM_NEWER;
Note:
See TracChangeset
for help on using the changeset viewer.