[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32menu.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32menu.c |
Date: |
Sun, 12 Mar 2006 16:29:25 +0000 |
Index: emacs/src/w32menu.c
diff -u emacs/src/w32menu.c:1.79 emacs/src/w32menu.c:1.80
--- emacs/src/w32menu.c:1.79 Mon Feb 6 15:23:22 2006
+++ emacs/src/w32menu.c Sun Mar 12 16:29:25 2006
@@ -819,8 +819,10 @@
}
#ifdef HAVE_MENUS
- /* If resources from a previous popup menu exist yet, does nothing
- until the `menu_free_timer' has freed them (see w32fns.c).
+ /* If resources from a previous popup menu still exist, does nothing
+ until the `menu_free_timer' has freed them (see w32fns.c). This
+ can occur if you press ESC or click outside a menu without selecting
+ a menu item.
*/
if (current_popup_menu)
{
@@ -837,6 +839,8 @@
UNBLOCK_INPUT;
discard_menu_items ();
+ w32_free_menu_strings (FRAME_W32_WINDOW (f));
+
#endif /* HAVE_MENUS */
UNGCPRO;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/w32menu.c,
Jason Rumney <=