Changeset 750
- Timestamp:
- Aug 2, 2007, 7:00:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r730 r750 37 37 10 Jun 07 GKY Add CheckPmDrgLimit including IsFm2Window as part of work around PM drag limit 38 38 05 Jul 07 SHL CollectorCnrWndProc: just warn if busy 39 02 Aug 07 SHL Minor clean up 39 40 40 41 ***********************************************************************/ … … 497 498 dcd->hwndObject = hwnd; 498 499 if (ParentIsDesktop(hwnd, dcd->hwndParent)) 499 DosSleep(250 L);500 DosSleep(250); 500 501 } 501 502 else … … 572 573 pciFirst = pci; 573 574 for (x = 0; li->list[x]; x++) { 574 nm = 1 L;575 nm = 1; 575 576 hdir = HDIR_CREATE; 576 577 DosError(FERR_DISABLEHARDERR); … … 608 609 else 609 610 pciFirst = pci; 610 WinSendMsg(hwnd, CM_FREERECORD, MPFROMP(&pciT), 611 MPFROM2SHORT(1, 0)); 611 WinSendMsg(hwnd, CM_FREERECORD, MPFROMP(&pciT), MPFROMSHORT(1)); 612 612 ulMaxFiles--; 613 613 } 614 DosSleep(1 L);614 DosSleep(1); 615 615 } 616 616 if (ulMaxFiles) { … … 644 644 CHAR fullname[1024], *p; 645 645 FILE *fp; 646 ULONG errs = 0 L;646 ULONG errs = 0; 647 647 BOOL first = FALSE; 648 648 size_t c; … … 693 693 CM_ALLOCRECORD, 694 694 MPFROMLONG(EXTRA_RECORD_BYTES), 695 MPFROMLONG(1 L));695 MPFROMLONG(1)); 696 696 if (pci) { 697 697 dcd->ullTotalBytes += FillInRecordFromFSA(dcd->hwndCnr, pci, … … 703 703 ri.pRecordParent = (PRECORDCORE) 0; 704 704 ri.zOrder = (ULONG) CMA_TOP; 705 ri.cRecordsInsert = 1 L;705 ri.cRecordsInsert = 1; 706 706 ri.fInvalidateRecord = TRUE; 707 707 WinSendMsg(dcd->hwndCnr, CM_INSERTRECORD, … … 896 896 // Allow rescan logic to quiesce 897 897 for (x = 0; x < 10 && dcd->amextracted; x++) 898 DosSleep(250 L);898 DosSleep(250); 899 899 WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID); 900 900 FreeList(dcd->lastselection); … … 1242 1242 MPFROMLONG(sizeof(CNRINFO))); 1243 1243 cnri.cyLineSpacing = 0; 1244 cnri.cxTreeIndent = 12 L;1244 cnri.cxTreeIndent = 12; 1245 1245 1246 1246 cnri.flWindowAttr &= (~(CV_ICON | CV_TREE | CV_TEXT | CV_DETAIL)); … … 1294 1294 } 1295 1295 else 1296 DosSleep(64 L);1296 DosSleep(64); 1297 1297 } 1298 1298 SayFilter(WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT), … … 1662 1662 MPVOID, MPFROM2SHORT(0, CMA_FREE | CMA_INVALIDATE)); 1663 1663 dcd->ullTotalBytes = dcd->selectedbytes = dcd->selectedfiles = 1664 dcd->totalfiles = 0 L;1664 dcd->totalfiles = 0; 1665 1665 PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID); 1666 1666 } … … 2134 2134 GetPString(IDS_DROPHELPTEXT), 2135 2135 numitems, 2136 &"s"[numitems == 1 L],2136 &"s"[numitems == 1], 2137 2137 (pci) ? NullStr : GetPString(IDS_NOTEXT), 2138 2138 (pci) ? NullStr : " ", … … 2513 2513 FILEFINDBUF3 ffb; 2514 2514 HDIR hDir = HDIR_CREATE; 2515 ULONG nm = 1 L;2515 ULONG nm = 1; 2516 2516 APIRET status = 0; 2517 2517 … … 2607 2607 PostMsg(hwnd, UM_FOLDUP, MPVOID, MPVOID); 2608 2608 if (dcd->hwndObject) { 2609 DosSleep(64 L);2609 DosSleep(64); 2610 2610 if (!PostMsg(dcd->hwndObject, WM_CLOSE, MPVOID, MPVOID)) 2611 2611 WinSendMsg(dcd->hwndObject, WM_CLOSE, MPVOID, MPVOID);
Note:
See TracChangeset
for help on using the changeset viewer.