summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbChecker/src')
-rw-r--r--plugins/DbChecker/src/finished.cpp2
-rw-r--r--plugins/DbChecker/src/progress.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DbChecker/src/finished.cpp b/plugins/DbChecker/src/finished.cpp
index 8984215d03..2609a763bd 100644
--- a/plugins/DbChecker/src/finished.cpp
+++ b/plugins/DbChecker/src/finished.cpp
@@ -43,7 +43,7 @@ INT_PTR CALLBACK FinishedDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM
case WZN_CANCELCLICKED:
bLaunchMiranda = IsDlgButtonChecked(hdlg, IDC_LAUNCHMIRANDA) == BST_CHECKED;
- CallService(MS_DB_SETDEFAULTPROFILE, (WPARAM)opts.filename, 0);
+ Profile_SetDefault(opts.filename);
wizardResult = 1;
return TRUE;
}
diff --git a/plugins/DbChecker/src/progress.cpp b/plugins/DbChecker/src/progress.cpp
index 5c123b86e0..ffac34c610 100644
--- a/plugins/DbChecker/src/progress.cpp
+++ b/plugins/DbChecker/src/progress.cpp
@@ -185,7 +185,7 @@ INT_PTR CALLBACK ProgressDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM
if (bShortModeDone) {
if (!errorCount) {
if (bLaunchMiranda)
- CallService(MS_DB_SETDEFAULTPROFILE, (WPARAM)opts.filename, 0);
+ Profile_SetDefault(opts.filename);
wizardResult = 1;
}
return TRUE;