Fix for finding a static composition.

This commit is contained in:
Kenichi Handa 2010-05-26 10:14:51 +09:00
parent bef4957b87
commit b705058384
2 changed files with 6 additions and 1 deletions

View file

@ -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):

View file

@ -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