]> git.eshelyaron.com Git - emacs.git/commitdiff
composite.c (composition_update_it): Fix previous change
authorKenichi Handa <handa@m17n.org>
Mon, 30 Aug 2010 01:58:52 +0000 (10:58 +0900)
committerKenichi Handa <handa@m17n.org>
Mon, 30 Aug 2010 01:58:52 +0000 (10:58 +0900)
src/composite.c

index 96474f43fabe2120b45908ab8217b5253fa6c4ac..bc5a67ef6e21b2b8574b41ab9fd169f0e43f8b65 100644 (file)
@@ -1440,7 +1440,7 @@ composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I
        {
          c = XINT (LGSTRING_CHAR (gstring, i));
          cmp_it->nbytes += CHAR_BYTES (c);
-         cmp_it->width += LGLYPH_WIDTH (glyph) > 0 ? CHAR_WIDTH (c) : 0;
+         cmp_it->width += CHAR_WIDTH (c);
        }
     }
   return c;