diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-13 05:37:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-13 05:37:58 +0000 |
commit | 1fc1e23f77a34529361503ab69cc96ad70d2a3c4 (patch) | |
tree | 1e4d0347cefac2c98e4bad55d812c5918438c547 /plugins/PluginUpdater/src/DlgUpdate.cpp | |
parent | ab373716a04db4555507c57025e569b80fb31e8f (diff) |
fixed dialog closing
git-svn-id: http://svn.miranda-ng.org/main/trunk@6052 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index daeb31b98e..9422445a3c 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -45,7 +45,7 @@ static void ApplyUpdates(void *param) // if we need to escalate priviledges, launch a atub
if ( !PrepareEscalation()) {
- DestroyWindow(hDlg);
+ EndDialog(hDlg, 0);
return;
}
@@ -136,7 +136,7 @@ static void ApplyUpdates(void *param) }
if (hPipe)
CloseHandle(hPipe);
- DestroyWindow(hDlg);
+ EndDialog(hDlg, 0);
}
static void ResizeVert(HWND hDlg, int yy)
|