From: Eli Zaretskii Date: Sat, 9 Dec 2017 12:45:31 +0000 (+0200) Subject: Fix calculation of continuation_pixel_width in display engine X-Git-Tag: emacs-26.0.91~177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1056b3c;p=emacs.git 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) --- diff --git a/src/xdisp.c b/src/xdisp.c index 02c5d76e06b..3de57dbcd19 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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. */