diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-17 15:42:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-17 15:42:14 +0000 |
commit | d6964f7bb1c2afc8d67905fa38ac9a3df766b807 (patch) | |
tree | c1faf62ec8a37d184fce91df7fc07243ec738f5d /protocols | |
parent | 69f3e7d05fcdab94dc78e52af620d46191fafb37 (diff) |
obsolete services extincted
git-svn-id: http://svn.miranda-ng.org/main/trunk@14237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Steam/src/steam_avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/Tox/src/tox_avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/Tox/src/tox_icons.cpp | 2 | ||||
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 2 |
4 files changed, 4 insertions, 4 deletions
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);
|