changeset 81432:94b0b9678b0f

(update_compositions): Fix last fix.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 15 Jun 2007 00:02:03 +0000
parents 7587e14bd4da
children 6fa22ccf960b
files src/composite.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }