# HG changeset patch # User Chong Yidong # Date 1181865723 0 # Node ID 94b0b9678b0fe3c2e4f3a71078ad81842c4ad46e # Parent 7587e14bd4da7a30b1694d7b4d6cfcd45dd917e3 (update_compositions): Fix last fix. diff -r 7587e14bd4da -r 94b0b9678b0f src/composite.c --- a/src/composite.c Fri Jun 15 00:01:45 2007 +0000 +++ b/src/composite.c Fri Jun 15 00:02:03 2007 +0000 @@ -512,7 +512,7 @@ } 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 @@ (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); }