From 8e08a1feaa6d72e0e0ed067e3db7dbd026cd21df Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 26 Oct 2018 18:16:57 +0200 Subject: [PATCH] WM_SENDSSTATUS with WPARAM 1 is now sent before the Settings dialog is opened. --- src/win/win_settings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/win/win_settings.c b/src/win/win_settings.c index 6658c45c6..5f3592ee8 100644 --- a/src/win/win_settings.c +++ b/src/win/win_settings.c @@ -8,7 +8,7 @@ * * Windows 86Box Settings dialog handler. * - * Version: @(#)win_settings.c 1.0.70 2018/10/24 + * Version: @(#)win_settings.c 1.0.71 2018/10/26 * * Authors: Miran Grca, * David Hrdlička, @@ -4565,8 +4565,8 @@ win_settings_main_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) void win_settings_open(HWND hwnd) { - DialogBox(hinstance, (LPCWSTR)DLG_CONFIG, hwnd, win_settings_main_proc); - if (source_hwnd) PostMessage((HWND) (uintptr_t) source_hwnd, WM_SENDSSTATUS, (WPARAM) 1, (LPARAM) hwndMain); + + DialogBox(hinstance, (LPCWSTR)DLG_CONFIG, hwnd, win_settings_main_proc); }