diff options
| author | Kim F. Storm | 2006-04-23 23:50:25 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-04-23 23:50:25 +0000 |
| commit | 825de9a1027073beaec38ab1572e9d954f8a1eb0 (patch) | |
| tree | cbbcb1eb549482b4dacf22cdd131e9c7eedf9d8b | |
| parent | 1ada896b7de4c32ef55859c5697f31f851e0bdd6 (diff) | |
| download | emacs-825de9a1027073beaec38ab1572e9d954f8a1eb0.tar.gz emacs-825de9a1027073beaec38ab1572e9d954f8a1eb0.zip | |
* xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which
does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief.
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4aa0634e41a..131ce4b04d9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -18732,6 +18732,7 @@ fill_stretch_glyph_string (s, row, area, start, end) | |||
| 18732 | s->font = s->face->font; | 18732 | s->font = s->face->font; |
| 18733 | s->font_info = FONT_INFO_FROM_ID (s->f, s->face->font_info_id); | 18733 | s->font_info = FONT_INFO_FROM_ID (s->f, s->face->font_info_id); |
| 18734 | s->width = glyph->pixel_width; | 18734 | s->width = glyph->pixel_width; |
| 18735 | s->nchars = 1; | ||
| 18735 | voffset = glyph->voffset; | 18736 | voffset = glyph->voffset; |
| 18736 | 18737 | ||
| 18737 | for (++glyph; | 18738 | for (++glyph; |