From: Gerd Moellmann Date: Wed, 18 Aug 1999 10:37:34 +0000 (+0000) Subject: (update_frame_line): Fix previous change. If writing X-Git-Tag: emacs-pretest-21.0.90~7123 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f937bde20279bea842f89272b43db3a1ed93c982;p=emacs.git (update_frame_line): Fix previous change. If writing whole line clear to end of frame. --- diff --git a/src/dispnew.c b/src/dispnew.c index 9906022b00e..55c56a9361c 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -4840,14 +4840,11 @@ update_frame_line (frame, vpos) 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; }