Changeset 766 for trunk/dll/treecnr.c
- Timestamp:
- Aug 5, 2007, 10:21:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r761 r766 188 188 else 189 189 break; 190 DosSleep( 0L);190 DosSleep(1); 191 191 } 192 192 pci = FindCnrRecord(hwndCnr, dirname, NULL, TRUE, FALSE, TRUE); … … 225 225 else 226 226 break; 227 DosSleep( 0L);227 DosSleep(1); 228 228 } 229 229 } … … 601 601 dcd->hwndObject = hwnd; 602 602 if (ParentIsDesktop(hwnd, dcd->hwndParent)) 603 DosSleep(250 L);603 DosSleep(250); 604 604 } 605 605 return 0; … … 1135 1135 MPFROMP(&cnri), MPFROMLONG(sizeof(CNRINFO))); 1136 1136 cnri.cyLineSpacing = 0; 1137 cnri.cxTreeIndent = 12 L;1137 cnri.cxTreeIndent = 12; 1138 1138 cnri.pSortRecord = (PVOID) SortTreeCnr; 1139 1139 cnri.flWindowAttr &= (~(CV_NAME | CV_DETAIL | CV_TEXT)); … … 1177 1177 } 1178 1178 else 1179 DosSleep(1 L);1179 DosSleep(1); 1180 1180 } 1181 1181 } … … 1196 1196 if (!WinQueryPointerPos(HWND_DESKTOP, &ptl)) 1197 1197 break; 1198 WinMapWindowPoints(HWND_DESKTOP, hwnd, &ptl, 1 L);1198 WinMapWindowPoints(HWND_DESKTOP, hwnd, &ptl, 1); 1199 1199 } 1200 1200 else { … … 1728 1728 DosError(FERR_DISABLEHARDERR); 1729 1729 if (!DosQCurDisk(&ulDriveNum, &ulDriveMap)) { 1730 if (!(ulDriveMap & 1 L<< (toupper(*pci->pszFileName) - 'A'))) {1730 if (!(ulDriveMap & 1 << (toupper(*pci->pszFileName) - 'A'))) { 1731 1731 pciL = pciP = pci; 1732 1732 for (;;) { … … 2293 2293 WalkAllDlgProc, 2294 2294 FM3ModHandle, WALK_FRAME, MPFROMP(dir)) && *dir) 2295 WinSendMsg(hwnd, UM_SHOWME, MPFROMP(dir), MPFROMLONG(1 L));2295 WinSendMsg(hwnd, UM_SHOWME, MPFROMP(dir), MPFROMLONG(1)); 2296 2296 } 2297 2297 break; … … 2805 2805 fOkayMinimize = TRUE; 2806 2806 if (dcd->hwndObject && !fDummy) { 2807 DosSleep(100 L);2807 DosSleep(100); 2808 2808 if (!fDummy) { 2809 2809 fOkayMinimize = FALSE; … … 2851 2851 } 2852 2852 else 2853 WinSendMsg(hwnd, UM_CLOSE, MPFROMLONG(1 L), MPVOID);2853 WinSendMsg(hwnd, UM_CLOSE, MPFROMLONG(1), MPVOID); 2854 2854 return 0; 2855 2855 … … 3011 3011 // DbgMsg(pszSrcFile, __LINE__, "oldproc subclass %X", dcd->oldproc); // 05 Jul 07 SHL 3012 3012 // fixme to document 01 test? 3013 if (dcd->oldproc == 0 l)3013 if (dcd->oldproc == 0) 3014 3014 Win_Error(HWND_DESKTOP, HWND_DESKTOP, pszSrcFile, __LINE__, 3015 3015 "WinSubclassWindow");
Note:
See TracChangeset
for help on using the changeset viewer.