VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume/WinMain.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-10 19:17:30 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-10 19:45:18 (GMT)
commit8586c5101638143e7551db7c72067674a2817b38 (patch)
treef6e409835c96837b947a82e306b5786f59053136 /src/ExpandVolume/WinMain.cpp
parentfb430c403b2e0deb3f34328d3b65bd39c10b14ba (diff)
downloadVeraCrypt-8586c5101638143e7551db7c72067674a2817b38.zip
VeraCrypt-8586c5101638143e7551db7c72067674a2817b38.tar.gz
Windows: Avoid wrong update of configuration XML file caused by not using the correct window handle to get some GUI fields content. Some code cleanup.
Diffstat (limited to 'src/ExpandVolume/WinMain.cpp')
-rw-r--r--src/ExpandVolume/WinMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp
index 4c9165d..546e533 100644
--- a/src/ExpandVolume/WinMain.cpp
+++ b/src/ExpandVolume/WinMain.cpp
@@ -242,7 +242,7 @@ void LoadSettings (HWND hwndDlg)
{
WipeAlgorithmId savedWipeAlgorithm = TC_WIPE_NONE;
- LoadSysEncSettings (hwndDlg);
+ LoadSysEncSettings ();
if (LoadNonSysInPlaceEncSettings (&savedWipeAlgorithm) != 0)
bInPlaceEncNonSysPending = TRUE;