diff options
Diffstat (limited to 'plugins/UserInfoEx/classPsTreeItem.cpp')
-rw-r--r-- | plugins/UserInfoEx/classPsTreeItem.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/classPsTreeItem.cpp b/plugins/UserInfoEx/classPsTreeItem.cpp index 7f32b4871a..4f8b641691 100644 --- a/plugins/UserInfoEx/classPsTreeItem.cpp +++ b/plugins/UserInfoEx/classPsTreeItem.cpp @@ -412,12 +412,10 @@ INT CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BOOLEAN bInitIcon if (!sid.hDefaultIcon) sid.hDefaultIcon = ImageList_GetIcon(hIml, 0, ILD_NORMAL);
}
// add file to icolib
- CallServiceSync(MS_SKIN2_ADDICON, NULL, (LPARAM)&sid);
+ Skin_AddIcon(&sid);
if (!bInitIconsOnly)
- {
hIcon = IcoLib_GetIcon(pszIconName);
- }
}
if (!bInitIconsOnly && hIml) {
|