Dismiss the splash dialog when user hits window close.

This commit is contained in:
Bart House
2019-11-03 18:46:33 -08:00
parent 6b88a19365
commit a5080da898

View File

@@ -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)