summaryrefslogtreecommitdiff
path: root/plugins/OpenFolder/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OpenFolder/src')
-rw-r--r--plugins/OpenFolder/src/openFolder.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/OpenFolder/src/openFolder.cpp b/plugins/OpenFolder/src/openFolder.cpp
index 38fba5857b..2fb3a4c8ae 100644
--- a/plugins/OpenFolder/src/openFolder.cpp
+++ b/plugins/OpenFolder/src/openFolder.cpp
@@ -63,8 +63,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
mir_snprintf(szSettingName, sizeof( szSettingName ), "%s_%s", OPENFOLDER_MODULE_NAME, "open");
// icolib (0.7+)
- SKINICONDESC sid = { 0 };
- sid.cbSize = sizeof( SKINICONDESC );
+ SKINICONDESC sid = { sizeof(sid) };
sid.ptszDefaultFile = szFile;
sid.flags = SIDF_ALL_TCHAR;
sid.cx = sid.cy = 16;