]> git.eshelyaron.com Git - emacs.git/commitdiff
(handle_composition_prop): Set it->cmp_it.ch to -1.
authorKenichi Handa <handa@m17n.org>
Wed, 10 Sep 2008 12:39:03 +0000 (12:39 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 10 Sep 2008 12:39:03 +0000 (12:39 +0000)
src/ChangeLog
src/xdisp.c

index 13f878766df4fdbd66ffd2b6a2781b7d23cbf6b7..f084924ac7b9af98eee4b5cd18730c9054d1581d 100644 (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.
 
index a6d1a82eb3364d3955d6debd79bfa857136b220d..314c29ee3503ca669d22d9564583c0c82aa61d89 100644 (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;
        }