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.
This commit is contained in:
parent
d915b8c3f1
commit
012c12a05e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue