diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-13 17:11:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-13 17:11:58 +0000 |
commit | f51995e13679a37851baef8e7f52f2d993cbc7c1 (patch) | |
tree | 25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /protocols/GTalkExt | |
parent | fe1e8456d2488095f409a4f2d38b7251abdedccf (diff) |
mode old database junk to die
git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt')
-rw-r--r-- | protocols/GTalkExt/src/avatar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/GTalkExt/src/avatar.cpp b/protocols/GTalkExt/src/avatar.cpp index 84de3a28d8..36c6f4ff6a 100644 --- a/protocols/GTalkExt/src/avatar.cpp +++ b/protocols/GTalkExt/src/avatar.cpp @@ -33,7 +33,7 @@ LPTSTR CreateAvaFile(HANDLE *hFile)
{
wchar_t name[MAX_PATH + 2];
- if (CallService(MS_DB_GETPROFILENAMEW, (WPARAM)_countof(name), (LPARAM)&name))
+ if (Profile_GetNameW(_countof(name), name))
return NULL;
wchar_t *p = wcsrchr(name, '.');
@@ -41,8 +41,7 @@ LPTSTR CreateAvaFile(HANDLE *hFile) *p = 0;
wchar_t path[MAX_PATH + 2];
- if (CallService(MS_DB_GETPROFILEPATHW, (WPARAM)_countof(path), (LPARAM)&path))
- return NULL;
+ Profile_GetPathW(_countof(path), path);
wchar_t full[MAX_PATH + 2];
mir_snwprintf(full, AVA_FILE_NAME_FORMAT, path, name);
|