diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-07 18:19:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-07 18:19:34 +0000 |
commit | e5cb033463036b182fb6e5e3eed50a14987f5300 (patch) | |
tree | c1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/UserInfoEx/src/classPsTreeItem.cpp | |
parent | e2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff) |
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/classPsTreeItem.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/classPsTreeItem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/classPsTreeItem.cpp b/plugins/UserInfoEx/src/classPsTreeItem.cpp index 32ffb499fd..4aab90ed26 100644 --- a/plugins/UserInfoEx/src/classPsTreeItem.cpp +++ b/plugins/UserInfoEx/src/classPsTreeItem.cpp @@ -318,13 +318,13 @@ int CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BYTE bInitIconsOn if (!(hIcon = Skin_GetIcon(pszIconName))) {
bool bNeedFree = false;
- SKINICONDESC sid = { sizeof(sid) };
+ SKINICONDESC sid = { 0 };
sid.flags = SIDF_ALL_TCHAR;
sid.cx = GetSystemMetrics(SM_CXSMICON);
sid.cy = GetSystemMetrics(SM_CYSMICON);
sid.pszName = (LPSTR)pszIconName;
- sid.ptszDescription = _ptszLabel;
- sid.ptszSection = LPGENT(SECT_TREE);
+ sid.description.t = _ptszLabel;
+ sid.section.t = LPGENT(SECT_TREE);
// the item to insert brings along an icon?
if (odp->flags & ODPF_ICON) {
@@ -332,10 +332,10 @@ int CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BYTE bInitIconsOn if (odp->hInstance == ghInst) {
// the pszGroup holds the iconfile for items added by uinfoex
- sid.ptszDefaultFile = odp->ptszGroup;
+ sid.defaultFile.t = odp->ptszGroup;
// icon library exists?
- if (sid.ptszDefaultFile)
+ if (sid.defaultFile.t)
sid.iDefaultIndex = (INT_PTR)odp->hIcon;
// no valid icon library
else {
|