diff options
Diffstat (limited to 'plugins/Clist_mw/src')
-rw-r--r-- | plugins/Clist_mw/src/clui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/clui.cpp b/plugins/Clist_mw/src/clui.cpp index 97903b621d..5476afd190 100644 --- a/plugins/Clist_mw/src/clui.cpp +++ b/plugins/Clist_mw/src/clui.cpp @@ -81,9 +81,7 @@ void RegisterProtoIconsForAllProtoIconLib(); static int CluiModulesLoaded(WPARAM wParam,LPARAM lParam)
{
- MENUITEMINFO mii;
- ZeroMemory(&mii,sizeof(mii));
- mii.cbSize = MENUITEMINFO_V4_SIZE;
+ MENUITEMINFO mii = { sizeof(mii) };
mii.fMask = MIIM_SUBMENU;
mii.hSubMenu = (HMENU)CallService(MS_CLIST_MENUGETMAIN,0,0);
SetMenuItemInfo(hMenuMain,0,TRUE,&mii);
|