]> granicus.if.org Git - icu/commitdiff
ICU-10098 Fixed a bug introduced by the previous commit.
authorYoshito Umaoka <y.umaoka@gmail.com>
Fri, 3 May 2013 22:34:46 +0000 (22:34 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Fri, 3 May 2013 22:34:46 +0000 (22:34 +0000)
X-SVN-Rev: 33587

icu4c/source/common/locmap.c

index 25ef2f6d4ec5a2d976486df4b54d6d1124c08aae..9a6fb0dfed8fe303265c6409f965aeae96ab39e1 100644 (file)
@@ -1023,6 +1023,7 @@ uprv_convertToPosix(uint32_t hostid, char *posixID, int32_t posixIDCapacity, UEr
         for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) {
             if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) {
                 pCandidate = getPosixID(&gPosixIDmap[localeIndex], hostid);
+                break;
             }
         }