VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-24 16:21:35 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-24 16:54:10 +0100
commite516330775e5174a73d906c3a1cf41eb0bc36466 (patch)
tree20e90fdd7d0cdf64c30a6a52edb934fe83e7feaf /src
parent21587034d0f5ae308826b0d97d33d96148bb815e (diff)
downloadVeraCrypt-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')
-rw-r--r--src/Mount/Mount.c4
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,