diff options
author | Jason Rumney <jasonr@gnu.org> | 2001-12-10 22:52:51 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2001-12-10 22:52:51 +0000 |
commit | 37647b2dff3535ca6d599bacdfcbed64904ba795 (patch) | |
tree | 473f4ffea3336d75fda33e15b4500ed288dcdf87 /src/w32menu.c | |
parent | 8af0103338603236a162c5aa02105ef6dc5aadad (diff) | |
download | emacs-37647b2dff3535ca6d599bacdfcbed64904ba795.tar.gz |
(w32_free_submenu_strings): Clear menu item struct
before using.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r-- | src/w32menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index 99376360187..03ffb301f01 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -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; |