(w32_free_submenu_strings): Clear menu item struct
before using.
This commit is contained in:
parent
8af0103338
commit
37647b2dff
1 changed files with 1 additions and 1 deletions
|
@ -2245,7 +2245,7 @@ w32_free_submenu_strings (menu)
|
|||
for (i = 0; i < num; i++)
|
||||
{
|
||||
MENUITEMINFO info;
|
||||
|
||||
bzero (&info, sizeof (info));
|
||||
info.cbSize = sizeof (info);
|
||||
info.fMask = MIIM_DATA | MIIM_TYPE | MIIM_SUBMENU;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue