diff src/xdisp.c @ 16266:67f0dc60a944

(echo_area_display): Clear the left-side scroll bar columns.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Sep 1996 04:14:14 +0000
parents dcde843403a3
children 9a25cfded05a
line wrap: on
line diff
--- a/src/xdisp.c	Sat Sep 21 04:10:21 1996 +0000
+++ b/src/xdisp.c	Sat Sep 21 04:14:14 1996 +0000
@@ -596,10 +596,18 @@
 
   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,