diff options
| author | Richard M. Stallman | 1997-07-10 07:09:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-10 07:09:50 +0000 |
| commit | b83337746c80b17bfc1d42e3db548020fa5d01ba (patch) | |
| tree | 659f332c71786df389c38654ffdfe3402c6aac02 /src | |
| parent | 944a581d4d27d053c421bfd4e9ab5229b1aad5e3 (diff) | |
| download | emacs-b83337746c80b17bfc1d42e3db548020fa5d01ba.tar.gz emacs-b83337746c80b17bfc1d42e3db548020fa5d01ba.zip | |
(echo_area_display): Don't offset using left-side
scroll bar width because it is included in the width; clear
the entire line.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 3f89898d389..a36b8f0eda9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -647,11 +647,13 @@ echo_area_display () | |||
| 647 | i < vpos + XFASTINT (XWINDOW (mini_window)->height); i++) | 647 | i < vpos + XFASTINT (XWINDOW (mini_window)->height); i++) |
| 648 | { | 648 | { |
| 649 | get_display_line (f, i, 0); | 649 | get_display_line (f, i, 0); |
| 650 | /* We don't use FRAME_SCROLL_BAR_WIDTH (f) as the starting | ||
| 651 | hpos, because it is good to clear whatever is behind the | ||
| 652 | scroll bar. This does not affect the scroll bar itself. */ | ||
| 650 | display_string (XWINDOW (mini_window), i, | 653 | display_string (XWINDOW (mini_window), i, |
| 651 | "", 0, | 654 | "", 0, |
| 652 | FRAME_LEFT_SCROLL_BAR_WIDTH (f), | 655 | 0, 0, 0, |
| 653 | 0, 0, 0, | 656 | 0, FRAME_WIDTH (f) + FRAME_SCROLL_BAR_WIDTH (f)); |
| 654 | FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f)); | ||
| 655 | } | 657 | } |
| 656 | } | 658 | } |
| 657 | } | 659 | } |