changeset 3747:6506b2fd475a

(xmenu_show): Store 0 in *ERROR at the beginning. (Fx_popup_menu): Call keymap_panes right in one-keymap case.
author Richard M. Stallman <rms@gnu.org>
date Tue, 15 Jun 1993 23:17:10 +0000
parents 4a96c64c4d5e
children 260c9c3200b1
files src/xmenu.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Tue Jun 15 23:11:38 1993 +0000
+++ b/src/xmenu.c	Tue Jun 15 23:17:10 1993 +0000
@@ -192,7 +192,7 @@
 
       /* Extract the detailed info to make one pane.  */
       number_of_panes = keymap_panes (&obj_list, &menus, &names, &enables,
-				      &items, &menu, 1);
+				      &items, &prefixes, &menu, 1);
       /* The menu title seems to be ignored,
 	 so put it in the pane title.  */
       if (menus[0] == 0)
@@ -329,6 +329,7 @@
   int ulx, uly, width, height;
   int dispwidth, dispheight;
 
+  *error = 0;
   if (pane_cnt == 0)
     return 0;