VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-07 23:29:47 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-08 00:39:47 (GMT)
commit8e2793085e380172f412585d56b87c98a272ba82 (patch)
tree8ee50dc559ff6af9dc4429b9d262b150c0d21a59 /src/Mount/Mount.c
parent8518d558346fe41bfc6208d8fb49ae8428b6f651 (diff)
downloadVeraCrypt-8e2793085e380172f412585d56b87c98a272ba82.zip
VeraCrypt-8e2793085e380172f412585d56b87c98a272ba82.tar.gz
Windows: Continuation of fix for wrong update of configuration XML file.
Diffstat (limited to 'src/Mount/Mount.c')
-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 86337d6..6bb02d7 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);