From: Kenichi Handa Date: Fri, 29 Aug 2008 07:56:59 +0000 (+0000) Subject: (ns_draw_glyph_string): Adjusted for the change of X-Git-Tag: emacs-pretest-23.0.90~3170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e279d8975b089fdd7f3156e4e1bed16d3d439e1;p=emacs.git (ns_draw_glyph_string): Adjusted for the change of struct glyph_string. --- diff --git a/src/nsterm.m b/src/nsterm.m index 72c5c19477c..8336a163f53 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -3024,7 +3024,8 @@ ns_draw_glyph_string (struct glyph_string *s) n = ns_get_glyph_string_clip_rect (s, r); ns_focus (s->f, r, n); - if (s->for_overlaps || s->gidx > 0) + if (s->for_overlaps || (s->cmp_from > 0 + && ! s->first_glyph->u.cmp.automatic)) s->background_filled_p = 1; else /* 1 */ ns_maybe_dumpglyphs_background