changeset 67704:06f3a72bffb2

(Fx_popup_menu): Add `else' to set Vmenu_updating_frame to nil only if position is nil.
author Juri Linkov <juri@jurta.org>
date Tue, 20 Dec 2005 21:38:27 +0000
parents 7ae48da37b8f
children 4fc189896464
files src/macmenu.c src/w32menu.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/macmenu.c	Tue Dec 20 21:37:36 2005 +0000
+++ b/src/macmenu.c	Tue Dec 20 21:38:27 2005 +0000
@@ -746,7 +746,8 @@
 
       XSETFRAME (Vmenu_updating_frame, f);
     }
-  Vmenu_updating_frame = Qnil;
+  else
+    Vmenu_updating_frame = Qnil;
 #endif /* HAVE_MENUS */
 
   title = Qnil;
--- a/src/w32menu.c	Tue Dec 20 21:37:36 2005 +0000
+++ b/src/w32menu.c	Tue Dec 20 21:38:27 2005 +0000
@@ -738,7 +738,8 @@
 
       XSETFRAME (Vmenu_updating_frame, f);
     }
-  Vmenu_updating_frame = Qnil;
+  else
+    Vmenu_updating_frame = Qnil;
 #endif /* HAVE_MENUS */
 
   title = Qnil;