forked from organicmaps/organicmaps-tmp
[Tizen] review fix
This commit is contained in:
parent
b5c6e539c5
commit
d7922621ff
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue