diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-23 18:30:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-23 18:30:46 +0000 |
commit | 368f94af7740623a97c2c51c1a7d1a3f15593f1d (patch) | |
tree | cbb2d80054070f2ef08f4948a31f25ca20bb43f1 /protocols/Skype/src/skype_icons.cpp | |
parent | e2bbd04dc810a27ee78a64b7c41f5fa2fea10988 (diff) |
- fixed som errors
- second approach to UserIsTyping
git-svn-id: http://svn.miranda-ng.org/main/trunk@2062 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_icons.cpp')
-rw-r--r-- | protocols/Skype/src/skype_icons.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Skype/src/skype_icons.cpp b/protocols/Skype/src/skype_icons.cpp index f9661572ce..3c20e742e7 100644 --- a/protocols/Skype/src/skype_icons.cpp +++ b/protocols/Skype/src/skype_icons.cpp @@ -34,20 +34,20 @@ void CSkypeProto::InitIcons() }
}
-HANDLE GetIconHandle(const char* name)
+HANDLE CSkypeProto::GetIconHandle(const char* name)
{
- for(size_t i=0; i<SIZEOF(iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
{
- if(strcmp(iconList[i].Name, name) == 0)
- return iconList[i].Handle;
+ if (::strcmp(CSkypeProto::iconList[i].Name, name) == 0)
+ return CSkypeProto::iconList[i].Handle;
}
return 0;
}
void CSkypeProto::UninitIcons()
{
- for (int i = 0; i < SIZEOF(iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
{
- ::Skin_RemoveIcon(iconList[i].Name);
+ ::Skin_RemoveIcon(CSkypeProto::iconList[i].Name);
}
}
\ No newline at end of file |