From 6358134d6d169bdbaffda12cbb58ec070d844c84 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 1 Mar 2016 19:44:08 +0100 Subject: [PATCH] small amendment --- OsmAnd/src/net/osmand/data/PointDescription.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/data/PointDescription.java b/OsmAnd/src/net/osmand/data/PointDescription.java index 924ffe3537..1a82f46294 100644 --- a/OsmAnd/src/net/osmand/data/PointDescription.java +++ b/OsmAnd/src/net/osmand/data/PointDescription.java @@ -99,7 +99,7 @@ public class PointDescription { @NonNull public String getSimpleName(Context ctx, boolean addTypeName) { if (isLocation()) { - if (!Algorithms.isEmpty(name)) { + if (!Algorithms.isEmpty(name) && !name.equals(ctx.getString(R.string.no_address_found))) { return name; } else { return getLocationName(ctx, lat, lon, true).replace('\n', ' ');