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/Omegle/src/theme.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'protocols/Omegle/src') diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp index 4ed027ed0c..04ab200f66 100644 --- a/protocols/Omegle/src/theme.cpp +++ b/protocols/Omegle/src/theme.cpp @@ -48,22 +48,18 @@ void InitIcons(void) char setting_name[100]; char section_name[100]; - SKINICONDESC sid = {0}; - sid.cbSize = sizeof(SKINICONDESC); + SKINICONDESC sid = { sizeof(sid) }; sid.ptszDefaultFile = szFile; sid.cx = sid.cy = 16; sid.pszName = setting_name; sid.pszSection = section_name; - sid.flags = SIDF_PATH_TCHAR; + sid.flags = SIDF_PATH_TCHAR; - for (int i=0; i