From 7e279d8975b089fdd7f3156e4e1bed16d3d439e1 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 29 Aug 2008 07:56:59 +0000 Subject: [PATCH] (ns_draw_glyph_string): Adjusted for the change of struct glyph_string. --- src/nsterm.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5