summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/chat/options.cpp3
-rw-r--r--plugins/TabSRMM/src/msgs.cpp3
2 files changed, 2 insertions, 4 deletions
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;