From 1056b3cbcd8ec149df8a117df90fb0a4f388ea4c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 Dec 2017 14:45:31 +0200 Subject: [PATCH] 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) --- src/xdisp.c | 1 - 1 file changed, 1 deletion(-) 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. */ -- 2.39.2