diff src/menubar-msw.c @ 382:064ab7fed2e0 r21-2-6

Import from CVS: tag r21-2-6
author cvs
date Mon, 13 Aug 2007 11:07:39 +0200
parents 8626e4521993
children bbff43aa5eb7
line wrap: on
line diff
--- a/src/menubar-msw.c	Mon Aug 13 11:07:11 2007 +0200
+++ b/src/menubar-msw.c	Mon Aug 13 11:07:39 2007 +0200
@@ -623,7 +623,11 @@
   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);