(svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the window when closing openttd

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
glx 17 years ago
parent 5399a272e6
commit 41e05382b8

@ -621,6 +621,9 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
#if !defined(WINCE)
case WM_ACTIVATE: {
/* Don't do anything if we are closing openttd */
if (_exit_game) break;
bool active = (LOWORD(wParam) != WA_INACTIVE);
bool minimized = (HIWORD(wParam) != 0);
if (_wnd.fullscreen) {

Loading…
Cancel
Save