summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/MirOTR/src/icons.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirOTR/MirOTR/src/icons.cpp b/plugins/MirOTR/MirOTR/src/icons.cpp
index 181c57e492..10f140ff22 100644
--- a/plugins/MirOTR/MirOTR/src/icons.cpp
+++ b/plugins/MirOTR/MirOTR/src/icons.cpp
@@ -24,8 +24,7 @@ void InitIcons() {
GetModuleFileName(hInst, szFile, SIZEOF(szFile));
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { sizeof(sid) };
sid.ptszDefaultFile = szFile;
sid.ptszSection = _T(MODULENAME);
sid.flags = SIDF_ALL_TCHAR;