summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:21:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:21:46 +0000
commitc0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (patch)
treedcea26f40b27bfc7fc2231870451fd52ea27323a /src/modules
parent191225371df87bc9c983d260c0bd50a59bbdd927 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extraicons/DefaultExtraIcons.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}
}