Mercurial > emacs
changeset 25318:441b16431fdd
(update_frame_line): Fix previous change. If writing
whole line clear to end of frame.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 18 Aug 1999 10:37:34 +0000 |
parents | 06136c6979f1 |
children | f9b3511a51c4 |
files | src/dispnew.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Wed Aug 18 05:08:39 1999 +0000 +++ b/src/dispnew.c Wed Aug 18 10:37:34 1999 +0000 @@ -4840,14 +4840,11 @@ while (nlen > 0 && CHAR_GLYPH_SPACE_P (nbody[nlen - 1])) --nlen; + cursor_to (vpos, 0); if (nlen) - { - cursor_to (vpos, 0); - write_glyphs (nbody, nlen); - } + write_glyphs (nbody, nlen); - cursor_to (vpos, nlen); - clear_end_of_line (olen); + clear_end_of_line (FRAME_WINDOW_WIDTH (frame)); make_current (desired_matrix, current_matrix, vpos); return; }