1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

(handle_composition_prop): Set it->cmp_it.ch to -1.

This commit is contained in:
Kenichi Handa 2008-09-10 12:39:03 +00:00
parent 053ca52bec
commit f83ef65368
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2008-09-10 Kenichi Handa <handa@m17n.org>
* xdisp.c (handle_composition_prop): Set it->cmp_it.ch to -1.
* font.c (Ffont_shape_gstring): Make glyphs of non-nil adjustment
compose a grapheme cluster with the preceding base glyph.

View file

@ -4679,6 +4679,7 @@ handle_composition_prop (it)
if (it->cmp_it.id >= 0)
{
it->cmp_it.ch = -1;
it->cmp_it.nchars = COMPOSITION_LENGTH (prop);
it->cmp_it.nglyphs = -1;
}