summaryrefslogtreecommitdiff
path: root/plugins/Import/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-17 11:24:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-17 11:24:45 +0000
commit100e8865998c7487bbdba02a8405b7b05226876c (patch)
treef2102d8224f49b5ed14c11ee46bcabac18629429 /plugins/Import/src/main.cpp
parent15a302e14dcd9d9ccd9f5826aca971fab859ea1d (diff)
account merge dialog to be closed on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@11484 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Import/src/main.cpp')
-rw-r--r--plugins/Import/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp
index 1c90c5c792..571f55060f 100644
--- a/plugins/Import/src/main.cpp
+++ b/plugins/Import/src/main.cpp
@@ -30,7 +30,7 @@ static HANDLE hImportService = NULL;
HINSTANCE hInst;
INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam);
-static HWND hwndWizard = NULL;
+HWND hwndWizard, hwndAccMerge;
int hLangpack;
PLUGININFOEX pluginInfo =
@@ -101,6 +101,8 @@ static int OnExit(WPARAM wParam, LPARAM lParam)
{
if (hwndWizard)
SendMessage(hwndWizard, WM_CLOSE, 0, 0);
+ if (hwndAccMerge)
+ SendMessage(hwndAccMerge, WM_CLOSE, 0, 0);
return 0;
}