Commit 012c12a0 authored by Alan Third's avatar Alan Third

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.
parent d915b8c3
Pipeline #4427 failed with stage
in 54 minutes and 17 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment