diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-12-16 21:56:54 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-12-16 23:38:44 +0100 |
commit | 7832d712fda877001ea5ae825d1a07d424cb72b7 (patch) | |
tree | fcca9288fbfa30b7bebefea64d93f8e914be0e41 /src | |
parent | 3610d2c2ece1df295d1b0324fe55602ea1be42af (diff) | |
download | VeraCrypt-7832d712fda877001ea5ae825d1a07d424cb72b7.tar.gz VeraCrypt-7832d712fda877001ea5ae825d1a07d424cb72b7.zip |
Windows: solve issue with system favorites not being able to mount at A:
Diffstat (limited to 'src')
-rw-r--r-- | src/Mount/Mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 2ba55e49..2af48def 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -4399,7 +4399,7 @@ static BOOL Mount (HWND hwndDlg, int nDosDriveNo, wchar_t *szFileName, int pim) bPrebootPasswordDlgMode = mountOptions.PartitionInInactiveSysEncScope;
- if (nDosDriveNo == 0)
+ if (nDosDriveNo == -1)
nDosDriveNo = HIWORD (GetSelectedLong (GetDlgItem (MainDlg, IDC_DRIVELIST))) - L'A';
if (!MultipleMountOperationInProgress)
@@ -4625,7 +4625,7 @@ void __cdecl mountThreadFunction (void *hwndDlgArg) EnableWindow(hwndDlg, FALSE);
finally_do_arg2 (HWND, hwndDlg, BOOL, bIsForeground, { EnableWindow(finally_arg, TRUE); if (finally_arg2) BringToForeground (finally_arg); bPrebootPasswordDlgMode = FALSE;});
- Mount (hwndDlg, 0, 0, -1);
+ Mount (hwndDlg, -1, 0, -1);
}
typedef struct
|