mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5595 Fix bug in previous fix
X-SVN-Rev: 21481
This commit is contained in:
parent
079df617dd
commit
8050e9315e
1 changed files with 2 additions and 0 deletions
|
@ -1609,6 +1609,8 @@ int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos,
|
|||
// cache is built in the right order.
|
||||
if (reverse) {
|
||||
utext_setNativeIndex(fText, rangeStart);
|
||||
c = utext_current32(fText);
|
||||
UTRIE_GET16(&fData->fTrie, c, category);
|
||||
}
|
||||
while(U_SUCCESS(status)) {
|
||||
while((current = (int32_t)UTEXT_GETNATIVEINDEX(fText)) < rangeEnd && (category & 0x4000) == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue