diff options
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_icons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_icons.cpp b/protocols/SkypeWeb/src/skype_icons.cpp index a846ef0390..7c49c9adad 100644 --- a/protocols/SkypeWeb/src/skype_icons.cpp +++ b/protocols/SkypeWeb/src/skype_icons.cpp @@ -37,18 +37,18 @@ void CSkypeProto::InitIcons() char szSettingName[100];
TCHAR szSectionName[100];
- SKINICONDESC sid = { sizeof(SKINICONDESC) };
+ SKINICONDESC sid = { 0 };
sid.flags = SIDF_ALL_TCHAR;
- sid.ptszDefaultFile = szFile;
+ sid.defaultFile.t = szFile;
sid.pszName = szSettingName;
- sid.ptszSection = szSectionName;
+ sid.section.t = szSectionName;
mir_sntprintf(szSectionName, SIZEOF(szSectionName), _T("%s/%s"), LPGENT("Protocols"), LPGENT(MODULE));
for (int i = 0; i < SIZEOF(Icons); i++)
{
mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, Icons[i].Name);
- sid.ptszDescription = Icons[i].Description;
+ sid.description.t = Icons[i].Description;
sid.iDefaultIndex = -Icons[i].IconId;
Icons[i].Handle = Skin_AddIcon(&sid);
}
|