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:
parent
49a752bbf9
commit
63257f6c19
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue