diff options
| author | Eli Zaretskii | 2017-12-09 14:45:31 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-09 14:45:31 +0200 |
| commit | 1056b3cbcd8ec149df8a117df90fb0a4f388ea4c (patch) | |
| tree | 20effe43194a139351c433b274680822464ab9a0 /src | |
| parent | 90e20804f5151daa8743b04f4dc48e6cac7976e8 (diff) | |
| download | emacs-1056b3cbcd8ec149df8a117df90fb0a4f388ea4c.tar.gz emacs-1056b3cbcd8ec149df8a117df90fb0a4f388ea4c.zip | |
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)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
| 21668 | row->continued_p = true; | 21668 | row->continued_p = true; |
| 21669 | row->ends_at_zv_p = false; | 21669 | row->ends_at_zv_p = false; |
| 21670 | row->exact_window_width_line_p = false; | 21670 | row->exact_window_width_line_p = false; |
| 21671 | it->continuation_lines_width += x; | ||
| 21672 | 21671 | ||
| 21673 | /* Make sure that a non-default face is extended | 21672 | /* Make sure that a non-default face is extended |
| 21674 | up to the right margin of the window. */ | 21673 | up to the right margin of the window. */ |