VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-10 20:17:30 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-10 20:45:18 +0100
commit8586c5101638143e7551db7c72067674a2817b38 (patch)
treef6e409835c96837b947a82e306b5786f59053136 /src/ExpandVolume
parentfb430c403b2e0deb3f34328d3b65bd39c10b14ba (diff)
downloadVeraCrypt-8586c5101638143e7551db7c72067674a2817b38.tar.gz
VeraCrypt-8586c5101638143e7551db7c72067674a2817b38.zip
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')
-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 4c9165d9..546e5339 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;