From e5cb033463036b182fb6e5e3eed50a14987f5300 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Jun 2015 18:19:34 +0000 Subject: SKINICONDESC -> MAllStrings git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/loadicons.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/SecureIM/src/loadicons.cpp') diff --git a/plugins/SecureIM/src/loadicons.cpp b/plugins/SecureIM/src/loadicons.cpp index ff4d1d876a..bf6aca904d 100644 --- a/plugins/SecureIM/src/loadicons.cpp +++ b/plugins/SecureIM/src/loadicons.cpp @@ -96,14 +96,14 @@ void InitIcons(void) TCHAR tszPath[MAX_PATH]; GetModuleFileName(g_hIconInst, tszPath, SIZEOF(tszPath)); - SKINICONDESC sid = { sizeof(sid) }; - sid.pszSection = "SecureIM"; - sid.ptszDefaultFile = tszPath; + SKINICONDESC sid = { 0 }; + sid.section.a = "SecureIM"; + sid.defaultFile.t = tszPath; for (int i = 0; i < SIZEOF(icons); i++) { - sid.pszSection = icons[i].section; + sid.section.a = icons[i].section; sid.pszName = icons[i].name; - sid.pszDescription = icons[i].text; + sid.description.a = icons[i].text; sid.iDefaultIndex = -icons[i].key; HANDLE hIcolib = Skin_AddIcon(&sid); -- cgit v1.2.3