From: Kim F. Storm Date: Sun, 23 Apr 2006 23:50:25 +0000 (+0000) Subject: * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which X-Git-Tag: emacs-pretest-22.0.90~2973 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=825de9a1027073beaec38ab1572e9d954f8a1eb0;p=emacs.git * 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 --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) 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;