[Tizen] review fix

This commit is contained in:
Sergey Pisarchik 2014-05-27 19:40:35 +03:00 committed by Alex Zolotarev
parent b5c6e539c5
commit d7922621ff

View file

@ -247,10 +247,12 @@ string CodeFromISO369_2to_1(string const & code_ISO_639_2)
"zul", "zu"
};
for (size_t i = 0; i < sizeof(ar)/sizeof(ar[0]); i += 2)
{
if (code_ISO_639_2 == ar[i])
{
return ar[i + 1];
}
}
LOG(LDEBUG, ("Language not found", code_ISO_639_2));
return "en";
}