initializing fcdpositon in reset()

X-SVN-Rev: 5429
This commit is contained in:
Syn Wee Quek 2001-08-03 01:01:42 +00:00
parent 6d34a336ff
commit 4dac21d31a

View File

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