From 2730fa33a24f3c28611bbc2ec693667cc821c1b5 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 3 Sep 2018 11:39:39 +0200 Subject: Windows: fix regression causing VeraCrypt UI to always be displayed upon logon --- src/Mount/Mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index a1543b61..ebae35f8 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -550,7 +550,7 @@ static void InitMainDialog (HWND hwndDlg) if (mainHeigth < correctHeigth) { - SetWindowPos (hwndDlg, NULL, 0, 0, mainWidth, correctHeigth , SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOMOVE | SWP_SHOWWINDOW); + SetWindowPos (hwndDlg, NULL, 0, 0, mainWidth, correctHeigth , SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOMOVE); } } } -- cgit v1.2.3