From 9657d668eef209b408602f67c0363e160f8cad3c Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 15 Jun 2007 00:02:03 +0000 Subject: [PATCH] (update_compositions): Fix last fix. --- src/composite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2