comparison 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
comparison
equal deleted inserted replaced
16265:85a90affc238 16266:67f0dc60a944
594 frame_garbaged = 0; 594 frame_garbaged = 0;
595 } 595 }
596 596
597 if (echo_area_glyphs || minibuf_level == 0) 597 if (echo_area_glyphs || minibuf_level == 0)
598 { 598 {
599 int i;
600
599 echo_area_window = mini_window; 601 echo_area_window = mini_window;
600 602
601 vpos = XFASTINT (XWINDOW (mini_window)->top); 603 vpos = XFASTINT (XWINDOW (mini_window)->top);
602 get_display_line (f, vpos, 0); 604 get_display_line (f, vpos, 0);
605
606 /* Make sure the columns that overlap a left-hand scroll bar
607 are always clear. */
608 for (i = 0; i < FRAME_LEFT_SCROLL_BAR_WIDTH (f); i++)
609 f->desired_glyphs->glyphs[vpos][i] = SPACEGLYPH;
610
603 display_string (XWINDOW (mini_window), vpos, 611 display_string (XWINDOW (mini_window), vpos,
604 echo_area_glyphs ? echo_area_glyphs : "", 612 echo_area_glyphs ? echo_area_glyphs : "",
605 echo_area_glyphs ? echo_area_glyphs_length : -1, 613 echo_area_glyphs ? echo_area_glyphs_length : -1,
606 FRAME_LEFT_SCROLL_BAR_WIDTH (f), 614 FRAME_LEFT_SCROLL_BAR_WIDTH (f),
607 0, 0, 0, FRAME_WIDTH (f)); 615 0, 0, 0, FRAME_WIDTH (f));