Changeset 158 for trunk/dll/select.c
- Timestamp:
- May 26, 2005, 4:19:05 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r123 r158 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2004 Steven H.Levine 8 9 Revisions 01 Aug 04 SHL - Rework lstrip/rstrip usage 7 Copyright (c) 2004, 2005 Steven H. Levine 8 9 01 Aug 04 SHL Rework lstrip/rstrip usage 10 25 May 05 SHL Rework for ULONGLONG 10 11 11 12 ***********************************************************************/ … … 13 14 #define INCL_DOS 14 15 #define INCL_WIN 15 16 #define INCL_LONGLONG 16 17 #include <os2.h> 18 17 19 #include <stdio.h> 18 20 #include <stdlib.h> 19 21 #include <string.h> 20 22 #include <share.h> 23 21 24 #include "fm3dll.h" 22 25 #include "fm3str.h" … … 445 448 446 449 447 VOID RemoveAll (HWND hwndCnr,ULONG *totalbytes,ULONG *totalfiles) {450 VOID RemoveAll (HWND hwndCnr,ULONGLONG *pullTotalBytes,ULONG *pulTotalFiles) { 448 451 449 452 PCNRITEM pci; … … 460 463 } 461 464 while(pci && (INT)pci != -1) { 462 if(!(pci->rc.flRecordAttr & CRA_FILTERED)) { 465 if (!(pci->rc.flRecordAttr & CRA_FILTERED)) 466 { 463 467 didone = TRUE; 464 if (totalfiles)465 * totalfiles--;466 if (totalbytes)467 * totalbytes -= (pci->cbFile + pci->easize);468 if (pulTotalFiles) 469 *pulTotalFiles--; 470 if (pullTotalBytes) 471 *pullTotalBytes -= (pci->cbFile + pci->easize); 468 472 WinSendMsg(hwndCnr,CM_SETRECORDEMPHASIS,MPFROMP(pci), 469 473 MPFROM2SHORT(0,CRA_SELECTED));
Note:
See TracChangeset
for help on using the changeset viewer.