# HG changeset patch # User Kim F. Storm # Date 1145836225 0 # Node ID 8bcff9775482e718e591976c1180aac70cae2879 # Parent 6b96268b48a37464c7958f0a8cb8c19ad17a69be * 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. diff -r 6b96268b48a3 -r 8bcff9775482 src/xdisp.c --- a/src/xdisp.c Sun Apr 23 23:50:09 2006 +0000 +++ b/src/xdisp.c Sun Apr 23 23:50:25 2006 +0000 @@ -18732,6 +18732,7 @@ 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;