1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00

(xmenu_show) [USE_X_TOOLKIT]: return Qnil when val is null.

This commit is contained in:
Fred Pierresteguy 1994-02-11 08:52:53 +00:00
parent 649ddbf59f
commit 63c414df27

View File

@ -879,6 +879,8 @@ xmenu_show (f, val, x, y, menubarp, vw)
XMEventQue *feq_tmp; /* Foreign event queue temporary. */
BLOCK_INPUT;
if (val == 0) return Qnil;
menu_id = ++popup_id_tick;
menu = lw_create_widget ("popup", val->name, menu_id, val,
f->display.x->widget, 1, 0,