ICU-3862 remove harmful changes to ucol_elm

X-SVN-Rev: 16819
This commit is contained in:
Vladimir Weinstein 2004-11-11 07:07:44 +00:00
parent 845cae8bda
commit cf14e838e4

View file

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