Changeset 1792 for trunk/dll/misc.c


Ignore:
Timestamp:
Sep 1, 2014, 12:08:28 AM (11 years ago)
Author:
Gregg Young
Message:

Fixed column allocation for drives that failed CheckDrive would always get subject and longname because the check "if (driveflags[x] & DRIVE_NOEASUPPORT)" was always false since x = -1. Found with cppcheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1789 r1792  
    551551  else {
    552552    // Assume FAT
     553    x = toupper(*directory) - 'A';  //31 Aug 14 GKY added since x = -1 so "if" was always false
    553554    hasCreateDT = FALSE;
    554555    hasAccessDT = FALSE;
Note: See TracChangeset for help on using the changeset viewer.