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:
Vladimir Weinstein 2003-05-01 15:42:02 +00:00
parent c9deed82de
commit cd23b36a3b

View File

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