1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00

composite.c (composition_update_it): Fix previous change

This commit is contained in:
Kenichi Handa 2010-08-30 10:58:52 +09:00
parent 49a752bbf9
commit 63257f6c19

View 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;