]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix calculation of continuation_pixel_width in display engine
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Dec 2017 12:45:31 +0000 (14:45 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Dec 2017 12:45:31 +0000 (14:45 +0200)
* src/xdisp.c (display_line): Remove incorrect increment of
it->continuation_pixel_width when word-wrap is used.  (Bug#29594)

src/xdisp.c

index 02c5d76e06b7f38265d8eeff4e7b0ca860ab88bc..3de57dbcd19397e269cfcbc48fcd71376e601f15 100644 (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.  */