Commit 63257f6c authored by Kenichi Handa's avatar Kenichi Handa
Browse files

composite.c (composition_update_it): Fix previous change

parent 49a752bb
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment