VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-26 18:36:43 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-27 23:59:53 +0200
commiteac440ae9e9d313712bef01fcd7e70ff255e0eea (patch)
tree770b079f808ec3b94d871a846fc55413f721cb7d /src/ExpandVolume
parentdc3bc64b8685aeec3ab461e632a1604833ed6fd6 (diff)
downloadVeraCrypt-eac440ae9e9d313712bef01fcd7e70ff255e0eea.tar.gz
VeraCrypt-eac440ae9e9d313712bef01fcd7e70ff255e0eea.zip
Windows: Support A: and B: as driver letters for mounting volumes.
Diffstat (limited to 'src/ExpandVolume')
-rw-r--r--src/ExpandVolume/WinMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp
index f107c98f..19c5abe7 100644
--- a/src/ExpandVolume/WinMain.cpp
+++ b/src/ExpandVolume/WinMain.cpp
@@ -134,7 +134,7 @@ int MaxVolumeIdleTime = -120;
int nCurrentShowType = 0; /* current display mode, mount, unmount etc */
int nSelectedDriveIndex = -1; /* Item number of selected drive */
-int cmdUnmountDrive = 0; /* Volume drive letter to unmount (-1 = all) */
+int cmdUnmountDrive = -2; /* Volume drive letter to unmount (-1 = all) */
Password VolumePassword; /* Password used for mounting volumes */
Password CmdVolumePassword; /* Password passed from command line */
BOOL CmdVolumePasswordValid = FALSE;