Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1522 r1543 236 236 ULONG flags = driveflags[toupper(*StubbyScan->pci->pszFileName) - 'A']; 237 237 238 if (( (fRScanLocal && ~flags & DRIVE_REMOTE && ~flags & DRIVE_VIRTUAL) ||238 if ((fRScanLocal && ~flags & DRIVE_REMOTE && ~flags & DRIVE_VIRTUAL) || 239 239 (fRScanRemote && flags & DRIVE_REMOTE) || 240 (fRScanVirtual && flags & DRIVE_VIRTUAL)) && fInitialDriveScan) {241 if (!(flags & ((fRScanNoWrite ? 0 : DRIVE_NOTWRITEABLE) | 240 (fRScanVirtual && flags & DRIVE_VIRTUAL)) { 241 if (!(flags & ((fRScanNoWrite ? 0 : DRIVE_NOTWRITEABLE) || 242 242 (fRScanSlow ? 0 : DRIVE_SLOW)))) { 243 243 UnFlesh(StubbyScan->hwndCnr, StubbyScan->pci); -
trunk/dll/info.c
r1533 r1543 208 208 } 209 209 volser; 210 U SHORTpercentfree, percentused;210 ULONG percentfree, percentused; 211 211 212 212 memset(&volser, 0, sizeof(volser)); … … 252 252 253 253 percentfree = (fsa.cUnitAvail && fsa.cUnit) ? 254 ((U SHORT) fsa.cUnitAvail * 100) / (USHORT) fsa.cUnit : 0;254 ((ULONG) fsa.cUnitAvail * 100) / (ULONG) fsa.cUnit : 0; 255 255 if (!percentfree && fsa.cUnitAvail) 256 256 percentfree = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
