summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/icolib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/src/icolib.cpp')
-rw-r--r--plugins/AvatarHistory/src/icolib.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/AvatarHistory/src/icolib.cpp b/plugins/AvatarHistory/src/icolib.cpp
index acc5d642c3..508c683686 100644
--- a/plugins/AvatarHistory/src/icolib.cpp
+++ b/plugins/AvatarHistory/src/icolib.cpp
@@ -46,9 +46,7 @@ static void ReleaseIconEx(HICON hIcon)
static void IcoLibUpdateMenus()
{
- CLISTMENUITEM mi = {0};
-
- mi.cbSize = sizeof(mi);
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_FLAGS | CMIM_ICON;
mi.hIcon = createDefaultOverlayedIcon(FALSE);
CallService( MS_CLIST_MODIFYMENUITEM, ( WPARAM )hMenu, ( LPARAM )&mi );