]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which
authorKim F. Storm <storm@cua.dk>
Sun, 23 Apr 2006 23:50:25 +0000 (23:50 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 23 Apr 2006 23:50:25 +0000 (23:50 +0000)
does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief.

src/xdisp.c

index 4aa0634e41a00f8cde551e4b1c0df743e03b972b..131ce4b04d9d0e7467932acbf65adad795871f7f 100644 (file)
@@ -18732,6 +18732,7 @@ fill_stretch_glyph_string (s, row, area, start, end)
   s->font = s->face->font;
   s->font_info = FONT_INFO_FROM_ID (s->f, s->face->font_info_id);
   s->width = glyph->pixel_width;
+  s->nchars = 1;
   voffset = glyph->voffset;
 
   for (++glyph;