summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /protocols/Tox
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_icons.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tox/src/tox_icons.cpp b/protocols/Tox/src/tox_icons.cpp
index eecb2e2bd6..10a228c626 100644
--- a/protocols/Tox/src/tox_icons.cpp
+++ b/protocols/Tox/src/tox_icons.cpp
@@ -17,18 +17,18 @@ void CToxProto::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);
}