Changeset 1731


Ignore:
Timestamp:
01/30/10 05:59:38 (5 years ago)
Author:
lowjoel
Message:

Forward port from Eraser 6.0: GetDriveType? requires the path to have a trailing backslash. The check was using the wrong parameter when checking the drive type.

Location:
trunk/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6

  • trunk/eraser6/Eraser.Util/VolumeInfo.cs

    r1728 r1731  
    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.