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 --- plugins/TabSRMM/src/chat/options.cpp | 3 +-- plugins/TabSRMM/src/msgs.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp index 765272fdd2..aab81cf6dc 100644 --- a/plugins/TabSRMM/src/chat/options.cpp +++ b/plugins/TabSRMM/src/chat/options.cpp @@ -465,8 +465,7 @@ void Chat_AddIcons(void) GetModuleFileName(g_hIconDLL, szFile, SIZEOF(szFile)); // 16x16 icons - SKINICONDESC sid = {0}; - sid.cbSize = sizeof(SKINICONDESC); + SKINICONDESC sid = { sizeof(sid) }; sid.pszSection = "TabSRMM/Group chat windows"; sid.ptszDefaultFile = szFile; sid.flags = SIDF_PATH_TCHAR; diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 6e92fc517e..978d505890 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -1052,8 +1052,7 @@ static int TSAPI SetupIconLibConfig() FreeLibrary(g_hIconDLL); g_hIconDLL = 0; - SKINICONDESC sid = { 0 }; - sid.cbSize = sizeof(SKINICONDESC); + SKINICONDESC sid = { sizeof(sid) }; sid.ptszDefaultFile = szFilename; sid.flags = SIDF_PATH_TCHAR; -- cgit v1.2.3