Changeset 1402 for trunk/dll/filldir.c
- Timestamp:
- Mar 14, 2009, 6:17:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1400 r1402 66 66 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error 67 67 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 68 08 Mar 09 GKY Additional strings move to PCSZs in init.c 68 08 Mar 09 GKY Additional strings move to PCSZs 69 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 70 14 Mar 09 GKY Prevent execution of UM_SHOWME while drive scan is occuring 69 71 70 72 ***********************************************************************/ … … 120 122 121 123 #pragma data_seg(GLOBAL2) 122 CHAR *FM3Tools;123 CHAR *WPProgram;124 PCSZ FM3Tools = "<FM3_Tools>"; 125 PCSZ WPProgram = "WPProgram"; 124 126 volatile INT StubbyScanCount; 125 127 volatile INT ProcessDirCount; … … 252 254 MPFROM2SHORT(LIT_SORTASCENDING, 0), 253 255 MPFROMP(StubbyScan->pci->pszFileName)); 254 255 256 } 257 StubbyScanCount--; 256 258 /* if (StubbyScanCount == 0) { 257 259 if (fInitialDriveScan) { … … 416 418 fclose(fp); 417 419 hptr3 = WinLoadFileIcon(szFileName, FALSE); 418 unlinkf( "%s",szFileName);420 unlinkf(szFileName); 419 421 if (!hptr2) 420 422 hptr2 = hptr3; … … 1242 1244 while (pci && (INT)pci != -1) { 1243 1245 if ((pci->attrFile & FILE_DIRECTORY)) 1244 if (fInitialDriveScan)1246 //if (fInitialDriveScan) 1245 1247 Stubby(hwndCnr, pci); 1246 else {1248 /*else { 1247 1249 while (StubbyScanCount != 0) 1248 1250 DosSleep(50); 1249 1251 Stubby(hwndCnr, pci); 1250 } 1252 } */ 1251 1253 //Stubby(hwndCnr, pci); 1252 1254 pci = WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pci), … … 1659 1661 CM_QUERYRECORD, 1660 1662 MPVOID, 1661 1663 MPFROM2SHORT(CMA_FIRST, CMA_ITEMORDER)); 1662 1664 StubbyScanCount ++; 1663 1665 while (pci && (INT)pci != -1) { … … 1679 1681 if (~flags & DRIVE_INVALID && 1680 1682 ~flags & DRIVE_NOPRESCAN && 1681 (!fNoRemovableScan || ~flags & DRIVE_REMOVABLE) 1683 (!fNoRemovableScan || ~flags & DRIVE_REMOVABLE)) //&& !fDrivetoSkip[drvNum]) 1682 1684 { 1683 1685 if (DRIVE_RAMDISK) … … 1708 1710 MPFROMP(pci->pszFileName)); 1709 1711 } 1710 fDrivetoSkip[drvNum] = FALSE;1712 //fDrivetoSkip[drvNum] = FALSE; 1711 1713 } 1712 1714 pci = pciNext;
Note:
See TracChangeset
for help on using the changeset viewer.