Ignore:
Timestamp:
1/30/2010 5:56:46 AM (2 years ago)
Author:
lowjoel
Message:

GetDriveType? requires the path to have a trailing backslash. The check was using the wrong parameter when checking the drive type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs

    r1729 r1730  
    293293 
    294294                //Get the type of the drive 
    295                 DriveType driveType = (DriveType)KernelApi.NativeMethods.GetDriveType(mountpoint); 
     295                DriveType driveType = (DriveType)KernelApi.NativeMethods.GetDriveType(currentDir); 
    296296 
    297297                //We do different things for different kinds of drives. Network drives 
Note: See TracChangeset for help on using the changeset viewer.