From b95cd933f1007cf8e327b0082c1b11cf012248fa Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 13 Sep 2014 12:49:00 +0200 Subject: [PATCH] Storage --- OsmAnd-java/src/net/osmand/render/RenderingRulesStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/render/RenderingRulesStorage.java b/OsmAnd-java/src/net/osmand/render/RenderingRulesStorage.java index 3ab36e4421..ab3ffd0667 100644 --- a/OsmAnd-java/src/net/osmand/render/RenderingRulesStorage.java +++ b/OsmAnd-java/src/net/osmand/render/RenderingRulesStorage.java @@ -169,7 +169,7 @@ public class RenderingRulesStorage { private RenderingRule createTagValueRootWrapperRule(int tagValueKey, RenderingRule previous) { - if (previous.getProperties().length > 2) { + if (previous.getProperties().length > 0) { Map m = new HashMap(); m.put("tag", getTagString(tagValueKey)); m.put("value", getValueString(tagValueKey));