From c0d3c16aab5f5f52ede1f49ffeeafce98e3d073d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Jan 2014 11:21:46 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@7452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/extraicons/DefaultExtraIcons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extraicons') diff --git a/src/modules/extraicons/DefaultExtraIcons.cpp b/src/modules/extraicons/DefaultExtraIcons.cpp index 5af212d444..9b968d81f1 100644 --- a/src/modules/extraicons/DefaultExtraIcons.cpp +++ b/src/modules/extraicons/DefaultExtraIcons.cpp @@ -152,7 +152,7 @@ static void SetExtraIcons(HANDLE hContact) ptrA szValue(db_get_sa(hContact, p.db[j] == NULL ? proto : p.db[j], p.db[j + 1])); if (!IsEmpty(szValue)) { - ExtraIcon_SetIcon(p.hExtraIcon, hContact, szValue); + ExtraIcon_SetIcon(p.hExtraIcon, hContact, p.hIcolib); break; } } @@ -195,7 +195,7 @@ static int SettingChanged(WPARAM wParam, LPARAM lParam) continue; bool show = (cws->value.type != DBVT_DELETED && !IsEmpty(cws->value.pszVal)); - ExtraIcon_SetIcon(p.hExtraIcon, hContact, show ? cws->value.pszVal : NULL); + ExtraIcon_SetIcon(p.hExtraIcon, hContact, show ? p.hIcolib : NULL); break; } } -- cgit v1.2.3