VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-24 15:21:35 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-24 15:54:10 (GMT)
commite516330775e5174a73d906c3a1cf41eb0bc36466 (patch)
tree20e90fdd7d0cdf64c30a6a52edb934fe83e7feaf /src
parent21587034d0f5ae308826b0d97d33d96148bb815e (diff)
downloadVeraCrypt-e516330775e5174a73d906c3a1cf41eb0bc36466.zip
VeraCrypt-e516330775e5174a73d906c3a1cf41eb0bc36466.tar.gz
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 5a5b877..574c355 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,