From 1860018b201d995ed051c0affb72d5a1d09fa02e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 20:32:13 +0000 Subject: SKINICONDESC initialization - end of story git-svn-id: http://svn.miranda-ng.org/main/trunk@2598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_opts.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/MSN/src/msn_opts.cpp') diff --git a/protocols/MSN/src/msn_opts.cpp b/protocols/MSN/src/msn_opts.cpp index 7eed67a3ce..bac6553e8f 100644 --- a/protocols/MSN/src/msn_opts.cpp +++ b/protocols/MSN/src/msn_opts.cpp @@ -60,8 +60,7 @@ void MsnInitIcons(void) char szSectionName[100]; mir_snprintf(szSectionName, sizeof(szSectionName), "%s/%s", LPGEN("Protocols"), LPGEN("MSN")); - SKINICONDESC sid = {0}; - sid.cbSize = sizeof(SKINICONDESC); + SKINICONDESC sid = { sizeof(sid) }; sid.ptszDefaultFile = szFile; sid.pszSection = szSectionName; sid.flags = SIDF_PATH_TCHAR; -- cgit v1.2.3