From f937bde20279bea842f89272b43db3a1ed93c982 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 18 Aug 1999 10:37:34 +0000 Subject: [PATCH] (update_frame_line): Fix previous change. If writing whole line clear to end of frame. --- src/dispnew.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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; } -- 2.39.5