changeset 70202:8bcff9775482

* 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.
author Kim F. Storm <storm@cua.dk>
date Sun, 23 Apr 2006 23:50:25 +0000
parents 6b96268b48a3
children adfb4457bcec
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;