summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-23 16:14:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-23 16:14:06 +0000
commit2e711d104e232f6e957cf2dcd6954f659c980f02 (patch)
tree2bc5e957690ffb17550014577d4fcebca0a2505b /protocols/JabberG/src/jabber_proto.cpp
parentee8802d8809f2effd5ae827cba7137f2dd684b6d (diff)
correct Jabber account icon calculation
git-svn-id: http://svn.miranda-ng.org/main/trunk@3734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 9ad0e24675..520c0b9954 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -711,10 +711,10 @@ HICON __cdecl CJabberProto::GetIcon(int iconIndex)
{
if (LOWORD(iconIndex) == PLI_PROTOCOL) {
if (iconIndex & PLIF_ICOLIBHANDLE)
- return (HICON)GetIconHandle(IDI_JABBER);
+ return (HICON)m_hProtoIcon;
bool big = (iconIndex & PLIF_SMALL) == 0;
- HICON hIcon = LoadIconEx("main", big);
+ HICON hIcon = Skin_GetIconByHandle(m_hProtoIcon, big);
if (iconIndex & PLIF_ICOLIB)
return hIcon;