Fix bug with country matching by prefix name.

This commit is contained in:
vng 2012-07-09 00:41:47 -07:00 committed by Alex Zolotarev
parent 7055ab7778
commit a4f5c35a9d

View file

@ -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);
}