From f039d5474ea7245dd438d2735cd974a9fa498146 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 2 Aug 2016 13:48:25 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@17154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/classPsTreeItem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/UserInfoEx/src/classPsTreeItem.cpp') diff --git a/plugins/UserInfoEx/src/classPsTreeItem.cpp b/plugins/UserInfoEx/src/classPsTreeItem.cpp index f31c4fada9..cc50b035dc 100644 --- a/plugins/UserInfoEx/src/classPsTreeItem.cpp +++ b/plugins/UserInfoEx/src/classPsTreeItem.cpp @@ -314,12 +314,13 @@ int CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BYTE bInitIconsOn HICON hIcon = IcoLib_GetIcon(pszIconName); if (!hIcon) { bool bNeedFree = false; + ptrW pwszSection(mir_a2u(SECT_TREE)); SKINICONDESC sid = { 0 }; - sid.flags = SIDF_ALL_UNICODE; + sid.flags = SIDF_PATH_UNICODE; sid.pszName = (LPSTR)pszIconName; sid.description.w = _ptszLabel; - sid.section.w = _A2W(SECT_TREE); + sid.section.w = pwszSection; // the item to insert brings along an icon? if (odp->flags & ODPF_ICON) { -- cgit v1.2.3