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>2013-09-07 12:56:42 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:01:05 +0300
commit467c228167af0ff4a9a4cd3be37c3b3c6b95af83 (patch)
tree1c9d3e876a10f850bf53846d1519e6813c1ab978 /indexer/feature_utils.cpp
parent37d31ff14b0c254ae533f433526b8979c9476c12 (diff)
Simple test for styles checking.
Diffstat (limited to 'indexer/feature_utils.cpp')
-rw-r--r--indexer/feature_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature_utils.cpp b/indexer/feature_utils.cpp
index 8c14d3999a..5e708a9820 100644
--- a/indexer/feature_utils.cpp
+++ b/indexer/feature_utils.cpp
@@ -53,7 +53,7 @@ public:
void CorrectScaleForVisibility(TypesHolder const & types, int & scale) const
{
- pair<int, int> const scaleR = GetDrawableScaleRangeForRules(types, RULE_TEXT);
+ pair<int, int> const scaleR = GetDrawableScaleRangeForRules(types, RULE_ANY_TEXT);
ASSERT_LESS_OR_EQUAL ( scaleR.first, scaleR.second, () );
// Result types can be without visible texts (matched by category).