VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-08 00:29:47 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-08 01:39:47 +0100
commit8e2793085e380172f412585d56b87c98a272ba82 (patch)
tree8ee50dc559ff6af9dc4429b9d262b150c0d21a59 /src/Mount
parent8518d558346fe41bfc6208d8fb49ae8428b6f651 (diff)
downloadVeraCrypt-8e2793085e380172f412585d56b87c98a272ba82.tar.gz
VeraCrypt-8e2793085e380172f412585d56b87c98a272ba82.zip
Windows: Continuation of fix for wrong update of configuration XML file.
Diffstat (limited to 'src/Mount')
-rw-r--r--src/Mount/Mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 86337d6b..6bb02d79 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -844,7 +844,7 @@ void SaveSettings (HWND hwndDlg)
ConfigWriteInt ("OpenExplorerWindowAfterMount", bExplore);
ConfigWriteInt ("UseDifferentTrayIconIfVolumesMounted", bUseDifferentTrayIconIfVolMounted);
- ConfigWriteInt ("SaveVolumeHistory", !IsButtonChecked (GetDlgItem (hwndDlg, IDC_NO_HISTORY)));
+ ConfigWriteInt ("SaveVolumeHistory", bHistory);
ConfigWriteInt ("CachePasswords", bCacheInDriverDefault);
ConfigWriteInt ("CachePasswordDuringMultipleMount", bCacheDuringMultipleMount);