summaryrefslogtreecommitdiff
path: root/plugins/OpenFolder
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OpenFolder')
-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 46129468cd..38fba5857b 100644
--- a/plugins/OpenFolder/src/openFolder.cpp
+++ b/plugins/OpenFolder/src/openFolder.cpp
@@ -85,8 +85,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
hotkey.DefHotKey = MAKEWORD( 'O', HOTKEYF_SHIFT | HOTKEYF_ALT );
Hotkey_Register(&hotkey);
- CLISTMENUITEM mi = { 0 };
- mi.cbSize = sizeof( mi );
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 0x7FFFFFFF;
mi.flags = CMIF_ICONFROMICOLIB|CMIF_TCHAR;
mi.icolibItem = hIconOpenFolder;