ICU-2416 shifting should be done by the shift value, not mask value! Fixed a mental typo
X-SVN-Rev: 11751
This commit is contained in:
parent
c9deed82de
commit
cd23b36a3b
@ -249,14 +249,14 @@ U_CAPI int32_t U_EXPORT2
|
||||
ucol_primaryOrder (int32_t order)
|
||||
{
|
||||
order &= UCOL_PRIMARYMASK;
|
||||
return (order >> UCOL_PRIMARYMASK);
|
||||
return (order >> UCOL_PRIMARYORDERSHIFT);
|
||||
}
|
||||
|
||||
U_CAPI int32_t U_EXPORT2
|
||||
ucol_secondaryOrder (int32_t order)
|
||||
{
|
||||
order &= UCOL_SECONDARYMASK;
|
||||
return (order >> UCOL_SECONDARYMASK);
|
||||
return (order >> UCOL_SECONDARYORDERSHIFT);
|
||||
}
|
||||
|
||||
U_CAPI int32_t U_EXPORT2
|
||||
|
Loading…
Reference in New Issue
Block a user