summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clisttray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src/clisttray.cpp')
-rw-r--r--plugins/Clist_mw/src/clisttray.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Clist_mw/src/clisttray.cpp b/plugins/Clist_mw/src/clisttray.cpp
index d18e90f443..af0f210e14 100644
--- a/plugins/Clist_mw/src/clisttray.cpp
+++ b/plugins/Clist_mw/src/clisttray.cpp
@@ -225,10 +225,7 @@ void InitTrayMenus(void)
{
//add exit command to menu
- CLISTMENUITEM mi;
-
- memset(&mi,0,sizeof(mi));
- mi.cbSize = sizeof(mi);
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 900000;
mi.pszService = "CloseAction";
mi.pszName = LPGEN("E&xit");