summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_icons.cpp')
-rw-r--r--protocols/Skype/src/skype_icons.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/Skype/src/skype_icons.cpp b/protocols/Skype/src/skype_icons.cpp
index 3c20e742e7..9a739f57ae 100644
--- a/protocols/Skype/src/skype_icons.cpp
+++ b/protocols/Skype/src/skype_icons.cpp
@@ -1,6 +1,6 @@
#include "skype_proto.h"
-_tag_iconList CSkypeProto::iconList[] =
+_tag_iconList CSkypeProto::IconList[] =
{
{ LPGENT("Protocol icon"), "main", IDI_ICON },
{ LPGENT("Revoke authorization"), "authRevoke", IDI_AUTH_REVOKE },
@@ -24,30 +24,30 @@ void CSkypeProto::InitIcons()
sid.ptszSection = szSectionName;
::mir_sntprintf(szSectionName, SIZEOF(szSectionName), _T("%s/%s"), LPGENT("Protocols"), LPGENT(MODULE));
- for (int i = 0; i < SIZEOF(iconList); i++)
+ for (int i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- ::mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, iconList[i].Name);
+ ::mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, CSkypeProto::IconList[i].Name);
- sid.ptszDescription = iconList[i].Description;
- sid.iDefaultIndex = -iconList[i].IconId;
- iconList[i].Handle = ::Skin_AddIcon(&sid);
+ sid.ptszDescription = CSkypeProto::IconList[i].Description;
+ sid.iDefaultIndex = -CSkypeProto::IconList[i].IconId;
+ CSkypeProto::IconList[i].Handle = ::Skin_AddIcon(&sid);
}
}
HANDLE CSkypeProto::GetIconHandle(const char* name)
{
- for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- if (::strcmp(CSkypeProto::iconList[i].Name, name) == 0)
- return CSkypeProto::iconList[i].Handle;
+ if (::strcmp(CSkypeProto::IconList[i].Name, name) == 0)
+ return CSkypeProto::IconList[i].Handle;
}
return 0;
}
void CSkypeProto::UninitIcons()
{
- for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- ::Skin_RemoveIcon(CSkypeProto::iconList[i].Name);
+ ::Skin_RemoveIcon(CSkypeProto::IconList[i].Name);
}
} \ No newline at end of file