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/HistoryStats/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryStats/src/utils.cpp') diff --git a/plugins/HistoryStats/src/utils.cpp b/plugins/HistoryStats/src/utils.cpp index bc1c1f272b..7c2d0f3a93 100644 --- a/plugins/HistoryStats/src/utils.cpp +++ b/plugins/HistoryStats/src/utils.cpp @@ -909,7 +909,7 @@ namespace utils if (strProfilePath.empty()) { wchar_t szPath[MAX_PATH] = { 0 }; - mu::db::getProfilePath(MAX_PATH, szPath); + Profile_GetPathW(MAX_PATH, szPath); strProfilePath = szPath; if (strProfilePath.empty() || strProfilePath[strProfilePath.length() - 1] != '\\') @@ -928,7 +928,7 @@ namespace utils if (strProfileName.empty()) { wchar_t szName[MAX_PATH] = { 0 }; - mu::db::getProfileName(MAX_PATH, szName); + Profile_GetNameW(MAX_PATH, szName); strProfileName = szName; ext::string::size_type posDot = strProfileName.rfind('.'); -- cgit v1.2.3