From c1d9dffd9a69144ddf27d46e67eaf7344fea0beb Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 20 Dec 2005 21:38:27 +0000 Subject: [PATCH] (Fx_popup_menu): Add `else' to set Vmenu_updating_frame to nil only if position is nil. --- src/macmenu.c | 3 ++- src/w32menu.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/macmenu.c b/src/macmenu.c index a68ff04e405..064cec57486 100644 --- a/src/macmenu.c +++ b/src/macmenu.c @@ -746,7 +746,8 @@ no quit occurs and `x-popup-menu' returns nil. */) XSETFRAME (Vmenu_updating_frame, f); } - Vmenu_updating_frame = Qnil; + else + Vmenu_updating_frame = Qnil; #endif /* HAVE_MENUS */ title = Qnil; diff --git a/src/w32menu.c b/src/w32menu.c index d441d14b259..dfd885eee08 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -738,7 +738,8 @@ cached information about equivalent key sequences. */) XSETFRAME (Vmenu_updating_frame, f); } - Vmenu_updating_frame = Qnil; + else + Vmenu_updating_frame = Qnil; #endif /* HAVE_MENUS */ title = Qnil; -- 2.39.5