composite.c (find_automatic_composition): Fix previous change.

This commit is contained in:
Kenichi Handa 2011-05-20 09:51:38 +09:00
parent 23373930da
commit 31bfc35cca
2 changed files with 5 additions and 1 deletions

View 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.

View 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);