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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user