ICU-4509 Don't check for Nukta past the end of the syllable.

X-SVN-Rev: 17925
This commit is contained in:
Eric Mader 2005-06-16 22:46:37 +00:00
parent 1d9857793b
commit 5d6bf66a64

View file

@ -1,6 +1,6 @@
/*
*
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
* (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
*
*/
@ -484,7 +484,7 @@ le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le
le_bool seenVattu = FALSE;
le_bool seenBelowBaseForm = FALSE;
if (classTable->isNukta(chars[postBase])) {
if (postBase < markStart && classTable->isNukta(chars[postBase])) {
postBase += 1;
}