changeset 108785:9b696f89bbd3

Fix for finding a static composition.
author Kenichi Handa <handa@etlken>
date Wed, 26 May 2010 10:16:07 +0900
parents 549433326e7e (current diff) 009ef331a2bc (diff)
children 42633fb118e9
files
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 25 18:50:56 2010 -0400
+++ b/src/ChangeLog	Wed May 26 10:16:07 2010 +0900
@@ -1,3 +1,8 @@
+2010-05-26  Kenichi Handa  <handa@m17n.org>
+
+	* composite.c (composition_compute_stop_pos): Fix condition for
+	backward scanning.
+
 2010-05-25  Glenn Morris  <rgm@gnu.org>
 
 	* Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
--- a/src/composite.c	Tue May 25 18:50:56 2010 -0400
+++ b/src/composite.c	Wed May 26 10:16:07 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