summaryrefslogtreecommitdiff
path: root/plugins/Sessions/Src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Sessions/Src/Main.cpp')
-rw-r--r--plugins/Sessions/Src/Main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp
index 630f9bb1f0..ac82ba2010 100644
--- a/plugins/Sessions/Src/Main.cpp
+++ b/plugins/Sessions/Src/Main.cpp
@@ -976,9 +976,7 @@ static int PluginInit(WPARAM wparam,LPARAM lparam)
hibSessionsSave = AddIcon(hiSessionsSave, "SessionsSave", LPGENT("Save Session"));
hibSessionsLoadLast = AddIcon(hiSessionsLoadLast, "SessionsLoadLast", LPGENT("Load last Session"));
- CLISTMENUITEM cl;
- ZeroMemory(&cl, sizeof(cl));
- cl.cbSize = sizeof(CLISTMENUITEM);
+ CLISTMENUITEM cl = { sizeof(cl) };
cl.position = 1000000000;
cl.flags = CMIM_ALL | CMIF_TCHAR;