ICU-1953 Don't return NULL when it's suppose to return UCOL_NO_MORE_CES

X-SVN-Rev: 8991
This commit is contained in:
George Rhoten 2002-07-02 01:28:49 +00:00
parent 2d5114e756
commit 8c4f6e452c

View file

@ -2930,7 +2930,7 @@ uint32_t ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE,
//test for NULL
if (strbuffer == NULL) {
*status = U_MEMORY_ALLOCATION_ERROR;
return NULL;
return UCOL_NO_MORE_CES;
}
UCharOffset = strbuffer + newsize;
uprv_memcpy(UCharOffset, buffer,