changeset 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 85a90affc238
children 05ca2cb9fe0f
files src/xdisp.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
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,