diff src/composite.c @ 108784:009ef331a2bc

Fix for finding a static composition.
author Kenichi Handa <handa@etlken>
date Wed, 26 May 2010 10:14:51 +0900
parents 0bb727f1d547
children 5582106cddf0
line wrap: on
line diff
--- 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