From 2e711d104e232f6e957cf2dcd6954f659c980f02 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 Feb 2013 16:14:06 +0000 Subject: correct Jabber account icon calculation git-svn-id: http://svn.miranda-ng.org/main/trunk@3734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_proto.cpp') 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; -- cgit v1.2.3