mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-3862 remove harmful changes to ucol_elm
X-SVN-Rev: 16819
This commit is contained in:
parent
845cae8bda
commit
cf14e838e4
1 changed files with 2 additions and 2 deletions
|
@ -497,8 +497,8 @@ static int uprv_uca_setMaxExpansion(uint32_t endexpansion,
|
|||
|
||||
/* okay need to rearrange the array into sorted order */
|
||||
if (shiftsize == 0 /*|| *(pendexpansionce + pos) < endexpansion*/) { /* the commented part is actually both redundant and dangerous */
|
||||
*(pendexpansionce + pos) = endexpansion;
|
||||
*(pexpansionsize + pos) = expansionsize;
|
||||
*(pendexpansionce + pos + 1) = endexpansion;
|
||||
*(pexpansionsize + pos + 1) = expansionsize;
|
||||
}
|
||||
else {
|
||||
uprv_memmove(shiftpos + 1, shiftpos, shiftsize * sizeof(int32_t));
|
||||
|
|
Loading…
Add table
Reference in a new issue