diff options
author | vng <viktor.govako@gmail.com> | 2012-07-09 11:41:47 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:48 +0300 |
commit | a4f5c35a9d3732e73a0daa184066f57871d413e5 (patch) | |
tree | 3c6d12201224c8e2ecb5c2adac818f92b2a0f19e /storage | |
parent | 7055ab77789eadbcc729778e634ff1068ff6fb7f (diff) |
Fix bug with country matching by prefix name.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/country_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/country_info.cpp b/storage/country_info.cpp index 88fc5a7afd..b7343ff706 100644 --- a/storage/country_info.cpp +++ b/storage/country_info.cpp @@ -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); } |