Commit 31bfc35c authored by Kenichi Handa's avatar Kenichi Handa
Browse files

composite.c (find_automatic_composition): Fix previous change.

parent 23373930
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.
......
......@@ -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);
......
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