From a5080da8980dbc51e7ea6059d87ffa651b105c2a Mon Sep 17 00:00:00 2001 From: Bart House Date: Sun, 3 Nov 2019 18:46:33 -0800 Subject: [PATCH] Dismiss the splash dialog when user hits window close. --- win/win32/mhsplash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/win/win32/mhsplash.c b/win/win32/mhsplash.c index 8dcfd1b39..dcb698450 100644 --- a/win/win32/mhsplash.c +++ b/win/win32/mhsplash.c @@ -259,6 +259,7 @@ NHSplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_COMMAND: switch (LOWORD(wParam)) { + case IDCANCEL: case IDOK: mswin_window_mark_dead(mswin_winid_from_handle(hWnd)); if (GetNHApp()->hMainWnd == hWnd)