mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
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:
parent
2d5114e756
commit
8c4f6e452c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue