forked from organicmaps/organicmaps
Fix bug with country matching by prefix name.
This commit is contained in:
parent
7055ab7778
commit
a4f5c35a9d
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ namespace storage
|
|||
|
||||
for (IterT i = m_countries.begin(); i != m_countries.end(); ++i)
|
||||
{
|
||||
if (i->m_name.find(prefix) != string::npos)
|
||||
if (i->m_name.find(prefix) == 0)
|
||||
toDo(*i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue