X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fmenubar-msw.c;h=0c8eaf7ba7d50a99062516ba28ffb0674666bb75;hp=218b2a87c0cc8e8d599e74554eaad1d5dc6c6b47;hb=35adcaaeafb1fe93eaf00c39b48619e8f188ff3f;hpb=74f1ef06d302e2f5b0c048e3249bd6f3fc7e5922 diff --git a/src/menubar-msw.c b/src/menubar-msw.c index 218b2a8..0c8eaf7 100644 --- a/src/menubar-msw.c +++ b/src/menubar-msw.c @@ -623,7 +623,11 @@ mswindows_handle_wm_command (struct frame* f, WORD id) Lisp_Object data, fn, arg, frame; struct gcpro gcpro1; + if (NILP (current_hash_table)) + return Qnil; + data = Fgethash (make_int (id), current_hash_table, Qunbound); + if (UNBOUNDP (data)) { menu_cleanup (f);