mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-861
initializing fcdpositon in reset() X-SVN-Rev: 5429
This commit is contained in:
parent
6d34a336ff
commit
4dac21d31a
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,7 @@ ucol_reset(UCollationElements *elems)
|
|||
ci->writableBuffer = ci->stackWritableBuffer;
|
||||
ci->writableBufSize = UCOL_WRITABLE_BUFFER_SIZE;
|
||||
}
|
||||
ci->fcdPosition = NULL;
|
||||
}
|
||||
|
||||
U_CAPI int32_t
|
||||
|
@ -138,6 +139,7 @@ ucol_previous(UCollationElements *elems,
|
|||
elems->iteratordata_.flags |= UCOL_ITER_HASLEN;
|
||||
}
|
||||
elems->iteratordata_.pos = elems->iteratordata_.endp;
|
||||
elems->iteratordata_.fcdPosition = elems->iteratordata_.endp;
|
||||
}
|
||||
|
||||
elems->reset_ = FALSE;
|
||||
|
|
Loading…
Add table
Reference in a new issue