ICU-6319 Correct while statement to make results consistent with ICU4C.
X-SVN-Rev: 24147
This commit is contained in:
parent
2d45d7be53
commit
0675da9bcd
@ -259,7 +259,7 @@ class ThaiBreakIterator extends DictionaryBasedBreakIterator {
|
||||
}
|
||||
} while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter));
|
||||
}
|
||||
} while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter) && !foundBest);
|
||||
} while (words[wordsFound%THAI_LOOKAHEAD].backUp(fIter) && !foundBest);
|
||||
}
|
||||
/* foundBest: */wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter);
|
||||
wordsFound += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user