]> git.eshelyaron.com Git - emacs.git/commitdiff
(ns_draw_glyph_string): Adjusted for the change of
authorKenichi Handa <handa@m17n.org>
Fri, 29 Aug 2008 07:56:59 +0000 (07:56 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 29 Aug 2008 07:56:59 +0000 (07:56 +0000)
struct glyph_string.

src/nsterm.m

index 72c5c19477cbee6653f2019447891a761fc0478f..8336a163f53e5c49695e95d696ea4f91bf076057 100644 (file)
@@ -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