emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32menu.c,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32menu.c,v
Date: Thu, 22 Feb 2007 23:15:09 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   07/02/22 23:15:08

Index: w32menu.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32menu.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- w32menu.c   22 Feb 2007 22:49:41 -0000      1.86
+++ w32menu.c   22 Feb 2007 23:15:08 -0000      1.87
@@ -835,7 +835,6 @@
   UNBLOCK_INPUT;
 
   discard_menu_items ();
-  w32_free_menu_strings (FRAME_W32_WINDOW (f));
 
 #endif /* HAVE_MENUS */
 
@@ -1936,6 +1935,9 @@
 
   DestroyMenu (menu);
 
+  /* Free the owner-drawn and help-echo menu strings.  */
+  w32_free_menu_strings (FRAME_W32_WINDOW (f));
+
   /* Find the selected item, and its pane, to return
      the proper value.  */
   if (menu_item_selection != 0)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]