From a2f016e3c79e4adaeb8549e5603138f1495017a9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 Sep 1996 04:14:14 +0000 Subject: [PATCH] (echo_area_display): Clear the left-side scroll bar columns. --- src/xdisp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 868113434f5..f56a16a7a82 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -596,10 +596,18 @@ echo_area_display () if (echo_area_glyphs || minibuf_level == 0) { + int i; + echo_area_window = mini_window; vpos = XFASTINT (XWINDOW (mini_window)->top); get_display_line (f, vpos, 0); + + /* Make sure the columns that overlap a left-hand scroll bar + are always clear. */ + for (i = 0; i < FRAME_LEFT_SCROLL_BAR_WIDTH (f); i++) + f->desired_glyphs->glyphs[vpos][i] = SPACEGLYPH; + display_string (XWINDOW (mini_window), vpos, echo_area_glyphs ? echo_area_glyphs : "", echo_area_glyphs ? echo_area_glyphs_length : -1, -- 2.39.5