From f51995e13679a37851baef8e7f52f2d993cbc7c1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Sep 2016 17:11:58 +0000 Subject: mode old database junk to die git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Console/src/Console.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Console') diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp index c3bc12a83c..3a2c58b4e8 100644 --- a/plugins/Console/src/Console.cpp +++ b/plugins/Console/src/Console.cpp @@ -617,9 +617,8 @@ static INT_PTR CALLBACK ConsoleDlgProc(HWND hwndDlg, UINT message, WPARAM wParam // restore position Utils_RestoreWindowPosition(hwndDlg, NULL, "Console", "Console", RWPF_HIDDEN); - CallService(MS_DB_GETPROFILENAMEW, (WPARAM)_countof(name), (LPARAM)name); - - CallService(MS_DB_GETPROFILEPATHW, (WPARAM)_countof(path), (LPARAM)path); + Profile_GetNameW(_countof(name), name); + Profile_GetPathW(_countof(path), path); mir_snwprintf(title, L"%s - %s\\%s", TranslateT("Miranda Console"), path, name); -- cgit v1.2.3