]> git.eshelyaron.com Git - emacs.git/commitdiff
composite.c (find_automatic_composition): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Fri, 20 May 2011 00:51:38 +0000 (09:51 +0900)
committerKenichi Handa <handa@m17n.org>
Fri, 20 May 2011 00:51:38 +0000 (09:51 +0900)
src/ChangeLog
src/composite.c

index 372bf383fb87598eb2291cf24a0dd94f9c874156..79e5bf677f6be9902e9d1e86e27e5a6a0b170131 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-20  handa  <handa@m17n.org>
+
+       * composite.c (find_automatic_composition): Fix previous change.
+
 2011-05-18  Kenichi Handa  <handa@m17n.org>
 
        * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency.
index 8f8878e46a91fbdea476de37b6734ab979751bd3..7849ffa3a180219aa08e34e310d2829b28e94bd3 100644 (file)
@@ -1565,7 +1565,7 @@ find_automatic_composition (EMACS_INT pos, EMACS_INT limit,
          if (limit <= pos)     /* case (1)  */
            {
              do {
-               if (cur.pos == limit)
+               if (cur.pos <= limit)
                  return 0;
                BACKWARD_CHAR (cur, stop);
                c = STRING_CHAR (cur.p);