diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-02 13:48:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-02 13:48:25 +0000 |
commit | f039d5474ea7245dd438d2735cd974a9fa498146 (patch) | |
tree | 5ab378bf00404f152da56c6d04482269ea96163a /plugins/UserInfoEx | |
parent | f972259d059e76876530e95a7d7b4919aa7e7128 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/classPsTreeItem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) {
|