summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-22 15:07:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-22 15:07:00 +0000
commit83e9c1e2acab87c30807ede38f022e71a697f9e5 (patch)
tree228c81fd196751b7c614063dec81ee1ec4807fc6 /plugins/Clist_mw/src/clui.cpp
parent1dad958015778d3486838bf3c93fff1793aa5406 (diff)
pre-XP headers cleaned
git-svn-id: http://svn.miranda-ng.org/main/trunk@6183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clui.cpp')
-rw-r--r--plugins/Clist_mw/src/clui.cpp4
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);