From: Kenichi Handa Date: Fri, 20 May 2011 00:51:38 +0000 (+0900) Subject: composite.c (find_automatic_composition): Fix previous change. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~238 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31bfc35cca6df0d14f4786a9890f3a01b91cfc4c;p=emacs.git composite.c (find_automatic_composition): Fix previous change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 372bf383fb8..79e5bf677f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-05-20 handa + + * composite.c (find_automatic_composition): Fix previous change. + 2011-05-18 Kenichi Handa * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency. diff --git a/src/composite.c b/src/composite.c index 8f8878e46a9..7849ffa3a18 100644 --- a/src/composite.c +++ b/src/composite.c @@ -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);