diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-23 16:14:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-23 16:14:06 +0000 |
commit | 2e711d104e232f6e957cf2dcd6954f659c980f02 (patch) | |
tree | 2bc5e957690ffb17550014577d4fcebca0a2505b /protocols/JabberG/src/jabber_icolib.cpp | |
parent | ee8802d8809f2effd5ae827cba7137f2dd684b6d (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_icolib.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_icolib.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_icolib.cpp b/protocols/JabberG/src/jabber_icolib.cpp index 9afd1e3950..71bfea3dc6 100644 --- a/protocols/JabberG/src/jabber_icolib.cpp +++ b/protocols/JabberG/src/jabber_icolib.cpp @@ -186,13 +186,10 @@ void CJabberProto::IconsInit(void) HANDLE CJabberProto::GetIconHandle(int iconId)
{
- if (HANDLE result = g_GetIconHandle(iconId))
- return result;
-
if (iconId == IDI_JABBER)
return m_hProtoIcon;
- return NULL;
+ return g_GetIconHandle(iconId);
}
HICON CJabberProto::LoadIconEx(const char* name, bool big)
|