]> git.eshelyaron.com Git - emacs.git/commitdiff
(echo_area_display): Clear the left-side scroll bar columns.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 04:14:14 +0000 (04:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 04:14:14 +0000 (04:14 +0000)
src/xdisp.c

index 868113434f521e2ee13a840ee86f45e86708e91d..f56a16a7a829d598a226db1bf8a6c00a70f46114 100644 (file)
@@ -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,