From b705058384311a5b4d059d7c71de2e8984802ca6 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 26 May 2010 10:14:51 +0900 Subject: [PATCH] Fix for finding a static composition. --- src/ChangeLog | 5 +++++ src/composite.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 56879fff87c..d451e873adb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-26 Kenichi Handa + + * composite.c (composition_compute_stop_pos): Fix condition for + backward scanning. + 2010-05-25 Glenn Morris * Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): diff --git a/src/composite.c b/src/composite.c index dd07ab8f9a2..8a549f4796d 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1124,7 +1124,7 @@ composition_compute_stop_pos (cmp_it, charpos, bytepos, endpos, string) } } } - else + else if (charpos > endpos) { /* Search backward for a pattern that may be composed and the position of (possibly) the last character of the match is -- 2.39.2