VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format
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/Format
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/Format')
-rw-r--r--src/Format/Tcformat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index ccdd682c..46ad2083 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -6060,6 +6060,11 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
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);
+
LoadDefaultKeyFilesParam ();
RestoreDefaultKeyFilesParam ();