ICU-12868 Fixed invalid if condition in the recent fix in locmap.c

X-SVN-Rev: 39517
This commit is contained in:
Yoshito Umaoka 2016-11-30 20:33:41 +00:00
parent b0526b7711
commit a19a3a0f7a

View file

@ -1022,7 +1022,7 @@ uprv_convertToPosix(uint32_t hostid, char *posixID, int32_t posixIDCapacity, UEr
// GetLocaleInfo() maps such LCID to "ku". However, CLDR uses "ku" for
// Northern Kurdish and "ckb" for Central Kurdish. For this reason, we cannot
// use the Windows API to resolve locale ID for this specific case.
if (hostid & 0x3FF != 0x92) {
if ((hostid & 0x3FF) != 0x92) {
int32_t tmpLen = 0;
char locName[157]; /* ULOC_FULLNAME_CAPACITY */