VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-09-02 23:21:51 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-09-03 01:00:54 +0200
commitd3060a97b68636ee3143ec1c02bbaaf3f3549131 (patch)
treef89ecb2e86e804a9e8bde5ec8ecbc56077adedda /src/Mount/Mount.c
parent35dabf4b2cfc6562608e7052d632dc666d66f01d (diff)
downloadVeraCrypt-d3060a97b68636ee3143ec1c02bbaaf3f3549131.tar.gz
VeraCrypt-d3060a97b68636ee3143ec1c02bbaaf3f3549131.zip
Windows: fix regression when language selected in the setup during fresh install and that caused VeraCrypt background task to be disabled.
Diffstat (limited to 'src/Mount/Mount.c')
-rw-r--r--src/Mount/Mount.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 7b42bc4b..a1543b61 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -6794,6 +6794,12 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
// General preferences
LoadSettings (hwndDlg);
+ // Save language to XML configuration file if it has been selected in the setup
+ // so that other VeraCrypt programs will pick it up
+ if (bLanguageSetInSetup)
+ SaveSettings (hwndDlg);
+
+
// Keyfiles
LoadDefaultKeyFilesParam ();
RestoreDefaultKeyFilesParam ();