From: Ged Murphy Date: Tue, 13 Dec 2005 22:23:08 +0000 (+0000) Subject: It's a modal dialog not a window. Close it correctly. X-Git-Tag: backups/expat-rbuild@40467~944 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=4f3cd625833f85137e7b64880852b4fb559ec9e2;ds=sidebyside It's a modal dialog not a window. Close it correctly. svn path=/trunk/; revision=20154 --- diff --git a/reactos/apps/utils/getfirefox/getfirefox.c b/reactos/apps/utils/getfirefox/getfirefox.c index 41d5a707aa7..40d758f43fa 100644 --- a/reactos/apps/utils/getfirefox/getfirefox.c +++ b/reactos/apps/utils/getfirefox/getfirefox.c @@ -359,14 +359,10 @@ dlProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam) return FALSE; case WM_CLOSE: - DestroyWindow(Dlg); + EndDialog(Dlg, 0); return TRUE; - case WM_DESTROY: - PostQuitMessage(0); - return TRUE; - - default: + default: return FALSE; } }