diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 1f70766426d..f067b416283 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -192,7 +192,7 @@ With this form of menu, the return value is VALUE from the chosen item.") | |||
| 192 | 192 | ||
| 193 | /* Extract the detailed info to make one pane. */ | 193 | /* Extract the detailed info to make one pane. */ |
| 194 | number_of_panes = keymap_panes (&obj_list, &menus, &names, &enables, | 194 | number_of_panes = keymap_panes (&obj_list, &menus, &names, &enables, |
| 195 | &items, &menu, 1); | 195 | &items, &prefixes, &menu, 1); |
| 196 | /* The menu title seems to be ignored, | 196 | /* The menu title seems to be ignored, |
| 197 | so put it in the pane title. */ | 197 | so put it in the pane title. */ |
| 198 | if (menus[0] == 0) | 198 | if (menus[0] == 0) |
| @@ -329,6 +329,7 @@ xmenu_show (parent, startx, starty, line_list, enable_list, pane_list, | |||
| 329 | int ulx, uly, width, height; | 329 | int ulx, uly, width, height; |
| 330 | int dispwidth, dispheight; | 330 | int dispwidth, dispheight; |
| 331 | 331 | ||
| 332 | *error = 0; | ||
| 332 | if (pane_cnt == 0) | 333 | if (pane_cnt == 0) |
| 333 | return 0; | 334 | return 0; |
| 334 | 335 | ||