summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ProfileManager/src/pmanagerEx.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}