# HG changeset patch # User Gerd Moellmann # Date 934972654 0 # Node ID 441b16431fddcbe78c3d7b9a37478835daaf0018 # Parent 06136c6979f1a92338341613ee2b257564ce9f00 (update_frame_line): Fix previous change. If writing whole line clear to end of frame. diff -r 06136c6979f1 -r 441b16431fdd src/dispnew.c --- 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; }