diff options
| author | Alan Third | 2019-12-27 16:16:37 +0000 |
|---|---|---|
| committer | Alan Third | 2019-12-29 10:42:42 +0000 |
| commit | 012c12a05e04ce0efefb41d4fd3a5be72293ee17 (patch) | |
| tree | b46661003208c9e03997acc6304f29f7ad7f751d /src | |
| parent | d915b8c3f19d6627b3f394c98a51c51e91d03062 (diff) | |
| download | emacs-012c12a05e04ce0efefb41d4fd3a5be72293ee17.tar.gz emacs-012c12a05e04ce0efefb41d4fd3a5be72293ee17.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 33491 | 33491 | ||
| 33492 | if (area == TEXT_AREA && row->fill_line_p) | 33492 | if (area == TEXT_AREA && row->fill_line_p) |
| 33493 | /* If row extends face to end of line write the whole line. */ | 33493 | /* If row extends face to end of line write the whole line. */ |
| 33494 | draw_glyphs (w, 0, row, area, | 33494 | draw_glyphs (w, row->x, row, area, |
| 33495 | 0, row->used[area], | 33495 | 0, row->used[area], |
| 33496 | DRAW_NORMAL_TEXT, 0); | 33496 | DRAW_NORMAL_TEXT, 0); |
| 33497 | else | 33497 | else |