From 4f3cd625833f85137e7b64880852b4fb559ec9e2 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Tue, 13 Dec 2005 22:23:08 +0000 Subject: [PATCH] It's a modal dialog not a window. Close it correctly. svn path=/trunk/; revision=20154 --- reactos/apps/utils/getfirefox/getfirefox.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; } } -- 2.17.1