From: Chong Yidong Date: Fri, 15 Jun 2007 00:02:03 +0000 (+0000) Subject: (update_compositions): Fix last fix. X-Git-Tag: emacs-pretest-23.0.90~12258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9657d668eef209b408602f67c0363e160f8cad3c;p=emacs.git (update_compositions): Fix last fix. --- diff --git a/src/composite.c b/src/composite.c index 4e6c08a65cc..b0a5ebbc3ee 100644 --- a/src/composite.c +++ b/src/composite.c @@ -512,7 +512,7 @@ update_compositions (from, to, check_mask) } else if (from < ZV && find_composition (from, -1, &start, &from, &prop, Qnil) - && COMPOSITION_VALID_P (start, end, prop)) + && COMPOSITION_VALID_P (start, from, prop)) run_composition_function (start, from, prop); } @@ -523,7 +523,7 @@ update_compositions (from, to, check_mask) (to - 1). */ while (from < to - 1 && find_composition (from, to, &start, &from, &prop, Qnil) - && COMPOSITION_VALID_P (start, end, prop) + && COMPOSITION_VALID_P (start, from, prop) && from < to - 1) run_composition_function (start, from, prop); }