From 467c228167af0ff4a9a4cd3be37c3b3c6b95af83 Mon Sep 17 00:00:00 2001 From: vng Date: Sat, 7 Sep 2013 11:56:42 +0300 Subject: Simple test for styles checking. --- indexer/feature_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indexer/feature_utils.cpp') 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 const scaleR = GetDrawableScaleRangeForRules(types, RULE_TEXT); + pair 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). -- cgit v1.2.3