diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 21:57:47 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 21:57:47 +0000 |
commit | 2b82b6fe83df09a31a60288871227b3ea97d39a5 (patch) | |
tree | 5cc35c182e7e5be1db2007e4886fa10d19075a21 /protocols/SkypeWeb/src/skype_icons.cpp | |
parent | 035b5186bba8c0cab7d349f849c5c1db7cad7e39 (diff) |
SkypeWeb: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_icons.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_icons.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/SkypeWeb/src/skype_icons.cpp b/protocols/SkypeWeb/src/skype_icons.cpp index 8f5fc273e1..50983df45d 100644 --- a/protocols/SkypeWeb/src/skype_icons.cpp +++ b/protocols/SkypeWeb/src/skype_icons.cpp @@ -33,12 +33,8 @@ void CSkypeProto::InitIcons() HANDLE CSkypeProto::GetIconHandle(const char *name)
{
for (size_t i = 0; i < SIZEOF(Icons); i++)
- {
if (mir_strcmpi(Icons[i].Name, name) == 0)
- {
return Icons[i].Handle;
- }
- }
return 0;
}
@@ -48,16 +44,12 @@ HANDLE CSkypeProto::GetSkinIconHandle(const char *name) mir_snprintf(iconName, SIZEOF(iconName), "%s_%s", MODULE, name);
HANDLE hIcon = Skin_GetIconHandle(iconName);
if (hIcon == NULL)
- {
hIcon = GetIconHandle(name);
- }
return hIcon;
}
void CSkypeProto::UninitIcons()
{
for (size_t i = 0; i < SIZEOF(Icons); i++)
- {
Skin_RemoveIcon(Icons[i].Name);
- }
}
\ No newline at end of file |