summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-08-02 21:19:23 +0000
committerJim Blandy <jimb@redhat.com>1993-08-02 21:19:23 +0000
commitdb6f348c699fe8db15cc3437609a18130156f18f (patch)
tree2125e570ec02e576308897c68f4bdeb404872377
parentf870f3fefd2ec2b2ace0e188ad58d2c7703b9279 (diff)
downloademacs-db6f348c699fe8db15cc3437609a18130156f18f.tar.gz
* xdisp.c (display_menu_bar): Redisplay all lines occupied by the
menu bar, not just the first.
-rw-r--r--src/xdisp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b9ef666f869..dc833e5d5f9 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2194,6 +2194,11 @@ display_menu_bar (w)
/* Fill out the line with spaces. */
if (maxendcol > hpos)
hpos = display_string (w, vpos, "", hpos, 0, maxendcol, -1);
+
+ /* Clear the rest of the lines allocated to the menu bar. */
+ vpos++;
+ while (vpos < FRAME_MENU_BAR_LINES (f))
+ get_display_line (f, vpos++, 0);
}
/* Display the mode line for window w */