From d051a5f8e9c75c9d518d1d22726717aeb5af69ec Mon Sep 17 00:00:00 2001 From: vshcherb Date: Tue, 26 Nov 2013 00:09:47 +0100 Subject: [PATCH] Fix exception (crash POI filter) --- OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java index 487417e544..262476d66e 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapRenderingTypes.java @@ -362,6 +362,8 @@ public class MapRenderingTypes { if (targetTag != null || targetValue != null) { if (targetTag == null) { targetTag = rtype.getTag(); + } else { + targetTag = tag; } if (targetValue == null) { targetValue = rtype.getValue();