From 012c12a05e04ce0efefb41d4fd3a5be72293ee17 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Fri, 27 Dec 2019 16:16:37 +0000 Subject: [PATCH] Fix when expose draws partially visible first glyph (bug#38731) * src/xdisp.c (expose_area): When the face extends to the end of the line draw text from the correct x coordinate. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 3080f8920a3..623c5526937 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -33491,7 +33491,7 @@ expose_area (struct window *w, struct glyph_row *row, const Emacs_Rectangle *r, if (area == TEXT_AREA && row->fill_line_p) /* If row extends face to end of line write the whole line. */ - draw_glyphs (w, 0, row, area, + draw_glyphs (w, row->x, row, area, 0, row->used[area], DRAW_NORMAL_TEXT, 0); else -- 2.39.2