From 47e722306dbd2205bcd9bc101d3af3e0855ceeb9 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 21 Jul 2014 09:16:25 +0000 Subject: more reverts to be on a safe side git-svn-id: http://svn.miranda-ng.org/main/trunk@9899 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/Notifications.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PluginUpdater/src/Notifications.cpp') diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 6ae436e987..06b308d673 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -42,13 +42,13 @@ static LRESULT CALLBACK PopupDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM switch (LOWORD(wParam)) { case IDYES: if (IsWindow(pmpd->hDialog)) - DestroyWindow(pmpd->hDialog); + EndDialog(pmpd->hDialog, LOWORD(wParam)); PUDeletePopup(hDlg); break; case IDNO: if (IsWindow(pmpd->hDialog)) - DestroyWindow(pmpd->hDialog); + EndDialog(pmpd->hDialog, LOWORD(wParam)); PUDeletePopup(hDlg); break; } -- cgit v1.2.3