summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/DefaultExtraIcons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extraicons/DefaultExtraIcons.cpp')
-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;
}
}