diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8aefab964a8..c5676b3e174 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -21719,13 +21719,17 @@ extend_face_to_end_of_line (struct it *it) | |||
| 21719 | } | 21719 | } |
| 21720 | } | 21720 | } |
| 21721 | 21721 | ||
| 21722 | /* Fill space until window edge with the merged face. */ | 21722 | /* Fill space until window edge with the merged face. Do that |
| 21723 | const int stretch_width = it->last_visible_x - it->current_x; | 21723 | only for L2R rows, as R2L rows are handled specially below. */ |
| 21724 | if (!it->glyph_row->reversed_p) | ||
| 21725 | { | ||
| 21726 | const int stretch_width = it->last_visible_x - it->current_x; | ||
| 21724 | 21727 | ||
| 21725 | if (stretch_width > 0) | 21728 | if (stretch_width > 0) |
| 21726 | append_stretch_glyph (it, Qnil, stretch_width, | 21729 | append_stretch_glyph (it, Qnil, stretch_width, |
| 21727 | it->ascent + it->descent, | 21730 | it->ascent + it->descent, |
| 21728 | stretch_ascent); | 21731 | stretch_ascent); |
| 21732 | } | ||
| 21729 | 21733 | ||
| 21730 | it->char_to_display = saved_char; | 21734 | it->char_to_display = saved_char; |
| 21731 | it->position = saved_pos; | 21735 | it->position = saved_pos; |