aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-04-23 23:50:25 +0000
committerKim F. Storm2006-04-23 23:50:25 +0000
commit825de9a1027073beaec38ab1572e9d954f8a1eb0 (patch)
treecbbcb1eb549482b4dacf22cdd131e9c7eedf9d8b
parent1ada896b7de4c32ef55859c5697f31f851e0bdd6 (diff)
downloademacs-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.c1
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;