Mercurial > emacs
changeset 5896:b20145eafe0c
(xmenu_show) [USE_X_TOOLKIT]: return Qnil when val is null.
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
---|---|
date | Fri, 11 Feb 1994 08:52:53 +0000 |
parents | f7f69d049b0b |
children | 5a68abc8f1f9 |
files | src/xmenu.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Fri Feb 11 08:10:01 1994 +0000 +++ b/src/xmenu.c Fri Feb 11 08:52:53 1994 +0000 @@ -879,6 +879,8 @@ 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,