From d6964f7bb1c2afc8d67905fa38ac9a3df766b807 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Jun 2015 15:42:14 +0000 Subject: obsolete services extincted git-svn-id: http://svn.miranda-ng.org/main/trunk@14237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_avatars.cpp | 2 +- protocols/Tox/src/tox_avatars.cpp | 2 +- protocols/Tox/src/tox_icons.cpp | 2 +- protocols/Tox/src/tox_proto.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols') diff --git a/protocols/Steam/src/steam_avatars.cpp b/protocols/Steam/src/steam_avatars.cpp index a8f40e5dde..63554fd630 100644 --- a/protocols/Steam/src/steam_avatars.cpp +++ b/protocols/Steam/src/steam_avatars.cpp @@ -7,7 +7,7 @@ TCHAR* CSteamProto::GetAvatarFilePath(MCONTACT hContact) DWORD dwAttributes = GetFileAttributes(path); if (dwAttributes == 0xffffffff || (dwAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0) - CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)path); + CreateDirectoryTreeT(path); ptrA steamId(getStringA(hContact, "SteamID")); if (steamId != NULL) diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index 5683415486..c95ebad620 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -7,7 +7,7 @@ std::tstring CToxProto::GetAvatarFilePath(MCONTACT hContact) DWORD dwAttributes = GetFileAttributes(path); if (dwAttributes == 0xffffffff || (dwAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0) - CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)path); + CreateDirectoryTreeT(path); ptrT address(getTStringA(hContact, TOX_SETTINGS_ID)); if (address == NULL) diff --git a/protocols/Tox/src/tox_icons.cpp b/protocols/Tox/src/tox_icons.cpp index 85f2b427bd..e1b00b2688 100644 --- a/protocols/Tox/src/tox_icons.cpp +++ b/protocols/Tox/src/tox_icons.cpp @@ -34,7 +34,7 @@ void CToxProto::InitIcons() } } -HICON CToxProto::GetIcon(const char *name, int size) +HICON CToxProto::GetIcon(const char *name, bool size) { for (size_t i = 0; i < SIZEOF(Icons); i++) if (mir_strcmpi(Icons[i].Name, name) == 0) diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index b0e9ef17a7..b2326dc4d4 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -123,7 +123,7 @@ private: // icons static IconInfo Icons[]; - static HICON GetIcon(const char *name, int size = 0); + static HICON GetIcon(const char *name, bool size = false); static HANDLE GetIconHandle(const char *name); static HANDLE Skin_GetIconHandle(const char *name); -- cgit v1.2.3