Fix calculation of continuation_pixel_width in display engine

* src/xdisp.c (display_line): Remove incorrect increment of
it->continuation_pixel_width when word-wrap is used.  (Bug#29594)
This commit is contained in:
Eli Zaretskii 2017-12-09 14:45:31 +02:00
parent 90e20804f5
commit 1056b3cbcd

View file

@ -21668,7 +21668,6 @@ display_line (struct it *it, int cursor_vpos)
row->continued_p = true;
row->ends_at_zv_p = false;
row->exact_window_width_line_p = false;
it->continuation_lines_width += x;
/* Make sure that a non-default face is extended
up to the right margin of the window. */