Changeset 1838 for trunk/dll/dircnrs.c
- Timestamp:
- Aug 3, 2015, 12:14:21 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/dll/dircnrs.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1836 r1838 90 90 02 May 15 GKY Changes to allow a JAVA executable object to be created using "Real object" 91 91 menu item on a jar file. 92 02 Aug 15 GKY Remove unneed SubbyScan code and improve suppression of blank lines and 93 duplicate subdirectory name caused by running Stubby in worker threads. 92 94 93 95 ***********************************************************************/ … … 832 834 MPVOID, MPFROM2SHORT(CMA_FIRST, CMA_ITEMORDER)); 833 835 while (pci && (INT) pci != -1) { 836 if (!pci->pszFileName || !strcmp(pci->pszFileName, NullStr)) { 837 Runtime_Error(pszSrcFile, __LINE__, "pci->pszFileName NULL for %p", pci); 838 return 0; 839 } 834 840 if (pci->attrFile & FILE_DIRECTORY) { 835 841 pciC = WinSendMsg(dcd->hwndCnr, … … 837 843 MPFROMP(pci), 838 844 MPFROM2SHORT(CMA_FIRSTCHILD, CMA_ITEMORDER)); 839 if (!pciC) {840 Stubby(dcd->hwndCnr, pci);841 }845 if (!pciC) { 846 Stubby(dcd->hwndCnr, pci); 847 } 842 848 } 843 849 pci = WinSendMsg(dcd->hwndCnr, … … 895 901 if (fSwitchTreeOnDirChg) { 896 902 // Keep drive tree in sync with directory container 897 PSZ pszTempDir;898 while (fInitialDriveScan) {899 DosSleep(100); // Allow to complete900 } 903 PSZ pszTempDir; 904 while (fInitialDriveScan) 905 DosSleep(10); // Allow to complete 906 DosSleep(50); 901 907 pszTempDir = xstrdup(dcd->directory, pszSrcFile, __LINE__); 902 908 if (pszTempDir) { … … 1563 1569 WinSendMsg(hwnd, 1564 1570 CM_QUERYCNRINFO, 1565 MPFROMP(&cnri), MPFROMLONG(sizeof(CNRINFO)));1571 MPFROMP(&cnri), MPFROMLONG(sizeof(CNRINFO))); 1566 1572 cnri.pSortRecord = (PVOID) SortDirCnr; 1567 1573 WinSendMsg(hwnd, … … 1590 1596 cnri.flWindowAttr &= (~(CV_TREE | CV_ICON | CV_DETAIL | CV_TEXT)); 1591 1597 cnri.flWindowAttr |= (CV_NAME | CA_DETAILSVIEWTITLES | CV_MINI | 1592 CV_FLOW);1598 CV_FLOW); 1593 1599 cnri.pSortRecord = (PVOID) SortDirCnr; 1594 1600 … … 2122 2128 dcd->sortFlags |= SORT_REVERSE; 2123 2129 break; 2124 }2130 } 2125 2131 WinSendMsg(hwnd, CM_SORTRECORD, MPFROMP(SortDirCnr), 2126 2132 MPFROMLONG(dcd->sortFlags));
Note:
See TracChangeset
for help on using the changeset viewer.
