# HG changeset patch # User Richard M. Stallman # Date 765166184 0 # Node ID b3631c88ec7ee77ea15e7147638c36deb74b219a # Parent 8d803368758698bff34e7ec731b98b9ddc2f1a66 (redisplay): Call adjust_window_charstarts to update the charstarts of following lines. diff -r 8d8033687586 -r b3631c88ec7e src/xdisp.c --- a/src/xdisp.c Thu Mar 31 23:40:14 1994 +0000 +++ b/src/xdisp.c Fri Apr 01 02:09:44 1994 +0000 @@ -623,6 +623,14 @@ if (cursor_vpos >= 0 && this_line_bufpos && this_line_endpos == tlendpos) { + int left = XFASTINT (w->left); + int *charstart_next_line + = FRAME_CURRENT_GLYPHS (XFRAME (WINDOW_FRAME (w)))->charstarts[this_line_vpos + 1]; + int adjust = Z - tlendpos + 1 - charstart_next_line[left]; + int i; + + adjust_window_charstarts (w, this_line_vpos, adjust); + if (XFASTINT (w->width) != FRAME_WIDTH (XFRAME (WINDOW_FRAME (w)))) preserve_other_columns (w); goto update;