Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-12-21 13:46:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:30:47 +0300
commit81a4beec96490611a4dca02bfddc7afc239b27b8 (patch)
tree5b669b66c038ac59f11f97f1dd2608096288014d /indexer/index.hpp
parent3c5faf58ed108b258e0803f29a959391f34dd9f4 (diff)
Add Model::RemoveAllCountries function.
Minor fixes.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp
index 3d556401bf..8c4d276f17 100644
--- a/indexer/index.hpp
+++ b/indexer/index.hpp
@@ -144,7 +144,7 @@ private:
{
/// @todo It's better to avoid hacks with scale comparison.
- if (mwm[id].m_minScale > 0)
+ if (mwm[id].isCountry())
{
// process countries first
ProcessMwm(f, id, cov, scale);