diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-09-18 04:52:29 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-09-18 04:52:29 +0000 |
commit | 5f03b2ef4bf1a94d7a73dafc070e1d569f8c22b4 (patch) | |
tree | e808591ce746016dcf2c107976fc0be0100063a1 /plugins/ProfileManager | |
parent | f643cd89d49cbe0ae5c9f0f3324aa8de8042e43b (diff) |
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
Diffstat (limited to 'plugins/ProfileManager')
-rw-r--r-- | plugins/ProfileManager/src/pmanagerEx.cpp | 2 |
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;
}
|