Changeset 1283 for trunk/dll/grep2.c


Ignore:
Timestamp:
Nov 19, 2008, 1:40:17 AM (17 years ago)
Author:
Gregg Young
Message:

Fix seek and scan local HDs selection to always handle nonexistent drives correctly (Ticket 301)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep2.c

    r1223 r1283  
    751751        *new = 0;
    752752        for (x = 2; x < 26; x++) {
     753          incl = FALSE;
    753754          if (ulDriveMap & (1L << x)) {
    754             incl = FALSE;
    755755            switch (SHORT1FROMMP(mp1)) {
    756756            case GREP_ALLHDS:
    757               if (!(driveflags[x] & (DRIVE_REMOVABLE | DRIVE_IGNORE)))
     757              if (!(driveflags[x] & (DRIVE_REMOVABLE | DRIVE_IGNORE | DRIVE_RAMDISK)))
    758758                incl = TRUE;
    759759              break;
     
    761761              if (!(driveflags[x] &
    762762                    (DRIVE_REMOVABLE | DRIVE_IGNORE | DRIVE_REMOTE |
    763                      DRIVE_VIRTUAL)))
     763                     DRIVE_VIRTUAL | DRIVE_RAMDISK)))
    764764                incl = TRUE;
    765765              break;
Note: See TracChangeset for help on using the changeset viewer.