# HG changeset patch # User Kenichi Handa # Date 1274836491 -32400 # Node ID 009ef331a2bc955fb8187f097b56db15fb13f281 # Parent 3eac08e0e4ee3c316fc30aea48d7463e44b286c7 Fix for finding a static composition. diff -r 3eac08e0e4ee -r 009ef331a2bc src/ChangeLog --- a/src/ChangeLog Wed May 26 09:36:51 2010 +0900 +++ b/src/ChangeLog Wed May 26 10:14:51 2010 +0900 @@ -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 -r 3eac08e0e4ee -r 009ef331a2bc src/composite.c --- a/src/composite.c Wed May 26 09:36:51 2010 +0900 +++ b/src/composite.c Wed May 26 10:14:51 2010 +0900 @@ -1124,7 +1124,7 @@ } } } - 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