summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_icons.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_icons.cpp8
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