From: Kenichi Handa Date: Mon, 30 Aug 2010 01:58:52 +0000 (+0900) Subject: composite.c (composition_update_it): Fix previous change X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~218 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63257f6c19fb4924de5841a5232113a0d5ebbdc2;p=emacs.git composite.c (composition_update_it): Fix previous change --- diff --git a/src/composite.c b/src/composite.c index 96474f43fab..bc5a67ef6e2 100644 --- a/src/composite.c +++ b/src/composite.c @@ -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;