summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-07-16 11:22:59 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-07-16 11:22:59 +0000
commit1d730d5777dbeb64a51865dea4fcdf0b0b4ee7f0 (patch)
treee998936b2f9b77ab95513813520b9f9169c4f0a6 /plugins/PluginUpdater/src/DlgUpdate.cpp
parent791b46ce702f3d8cf7cc2137d8c3dcbbb8ec79a9 (diff)
modal messageboxes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index a82d8d368f..c187455d9d 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -97,7 +97,7 @@ LBL_Exit:
temp.Title = TranslateT("Plugin Updater");
temp.Text = tszBuff;
lstrcpyn(tszBuff, TranslateT("Download complete. Start updating? All your data will be saved and Miranda NG will be closed."), SIZEOF(tszBuff));
- int rc = MessageBox(NULL, temp.Text, temp.Title, MB_YESNO | MB_ICONQUESTION);
+ int rc = MessageBox(hDlg, temp.Text, temp.Title, MB_YESNO | MB_ICONQUESTION);
if (rc != IDYES) {
mir_sntprintf(tszBuff, SIZEOF(tszBuff), TranslateT("You have chosen not to install the plugin updates immediately.\nYou can install it manually from this location:\n\n%s"), tszFileTemp);
ShowPopup(0, LPGENT("Plugin Updater"), tszBuff, 2, 0);