summaryrefslogtreecommitdiff
path: root/plugins/Console/Console.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Console/Console.c')
-rw-r--r--plugins/Console/Console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Console/Console.c b/plugins/Console/Console.c
index eea28e711f..9d4567da11 100644
--- a/plugins/Console/Console.c
+++ b/plugins/Console/Console.c
@@ -724,8 +724,7 @@ static INT_PTR CALLBACK ConsoleDlgProc(HWND hwndDlg,UINT message,WPARAM wParam,L
{
SAVEWINDOWPOS swp;
swp.hwnd=hwndDlg; swp.hContact=NULL; swp.szModule="Console"; swp.szNamePrefix="Console";
- CallService(MS_UTILS_RESTOREWINDOWPOSITION,RWPF_NOACTIVATE,(LPARAM)&swp);
- ShowWindow(hwndDlg,SW_HIDE);
+ CallService(MS_UTILS_RESTOREWINDOWPOSITION, RWPF_HIDDEN, (LPARAM)&swp);
}
if (CallService(MS_DB_GETPROFILENAME,(WPARAM)512,(LPARAM)ProfileName))