From 5f03b2ef4bf1a94d7a73dafc070e1d569f8c22b4 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 18 Sep 2012 04:52:29 +0000 Subject: PmanagerEX: more correct version of shutdown before database checking git-svn-id: http://svn.miranda-ng.org/main/trunk@1595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ProfileManager/src/pmanagerEx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp index 8a93a997d0..f90fc26a9c 100644 --- a/plugins/ProfileManager/src/pmanagerEx.cpp +++ b/plugins/ProfileManager/src/pmanagerEx.cpp @@ -70,8 +70,8 @@ static INT_PTR CheckDb(WPARAM wParam, LPARAM lParam) { if (MessageBox( 0, TranslateT("Miranda NG will exit and Database checker will start.\n\nAre you sure you want to do this?"), TranslateT("Check Database"), MB_ICONWARNING | MB_YESNO | MB_DEFBUTTON2 ) == IDYES) { GetModuleFileName(GetModuleHandle(NULL), fn, SIZEOF(fn)); - ShellExecute(0, _T("open"), fn, _T("/svc:dbchecker"), _T(""), 1); CallService("CloseAction", 0, 0); + ShellExecute(0, _T("open"), fn, _T("/svc:dbchecker"), _T(""), 1); } return 0; } -- cgit v1.2.3