diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-12-24 16:21:35 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-12-24 16:54:10 +0100 |
commit | e516330775e5174a73d906c3a1cf41eb0bc36466 (patch) | |
tree | 20e90fdd7d0cdf64c30a6a52edb934fe83e7feaf /src/Mount | |
parent | 21587034d0f5ae308826b0d97d33d96148bb815e (diff) | |
download | VeraCrypt-e516330775e5174a73d906c3a1cf41eb0bc36466.tar.gz VeraCrypt-e516330775e5174a73d906c3a1cf41eb0bc36466.zip |
Windows: Fix mount option to disable Windows Mount Manager can preserved when mount options dialog opened a second time.
Diffstat (limited to 'src/Mount')
-rw-r--r-- | src/Mount/Mount.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 5a5b877a..574c3556 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -3535,9 +3535,7 @@ BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM mountOptions->ReadOnly ? BST_CHECKED : BST_UNCHECKED, 0); SendDlgItemMessage (hwndDlg, IDC_MOUNT_REMOVABLE, BM_SETCHECK, mountOptions->Removable ? BST_CHECKED : BST_UNCHECKED, 0); - SendDlgItemMessage (hwndDlg, IDC_PROTECT_HIDDEN_VOL, BM_SETCHECK, - mountOptions->ProtectHiddenVolume ? BST_CHECKED : BST_UNCHECKED, 0); - SendDlgItemMessage (hwndDlg, IDC_PROTECT_HIDDEN_VOL, BM_SETCHECK, + SendDlgItemMessage (hwndDlg, IDC_DISABLE_MOUNT_MANAGER, BM_SETCHECK, mountOptions->DisableMountManager ? BST_CHECKED : BST_UNCHECKED, 0); SendDlgItemMessage (hwndDlg, IDC_PROTECT_HIDDEN_VOL, BM_SETCHECK, |