summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Notifications.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-21 08:05:26 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-21 08:05:26 +0000
commit22956dbd60e52103afcfa87c93776c46a8c9947f (patch)
tree3e7dee5f7bc5b30d476d44bfac070cbd84821cd4 /plugins/PluginUpdater/src/Notifications.cpp
parentefcd77c080fcad05d6a70ee1ac7bbdbc9de11461 (diff)
Plugin Updater: Another EndDialog -> DestroyWindow fixes
@White-Tiger, thanks for explanation. git-svn-id: http://svn.miranda-ng.org/main/trunk@9896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.cpp')
-rw-r--r--plugins/PluginUpdater/src/Notifications.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp
index 06b308d673..6ae436e987 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))
- EndDialog(pmpd->hDialog, LOWORD(wParam));
+ DestroyWindow(pmpd->hDialog);
PUDeletePopup(hDlg);
break;
case IDNO:
if (IsWindow(pmpd->hDialog))
- EndDialog(pmpd->hDialog, LOWORD(wParam));
+ DestroyWindow(pmpd->hDialog);
PUDeletePopup(hDlg);
break;
}