Commit 46db8486 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(redisplay): Call adjust_window_charstarts

to update the charstarts of following lines.
parent 28925d74
......@@ -623,6 +623,14 @@ redisplay ()
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment