From 11ddc65409efaa9791ddff5542c6a229f4439c03 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Tue, 20 Apr 2021 10:35:39 +0200 Subject: [PATCH] Update MapObject.java --- OsmAnd-java/src/main/java/net/osmand/data/MapObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java b/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java index e02b884e0a..c149b79528 100644 --- a/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java +++ b/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java @@ -184,7 +184,7 @@ public abstract class MapObject implements Comparable { if (lang != null && lang.length() > 0) { if (lang.equals("en")) { // for some objects like wikipedia, english name is stored 'name' tag - if (Algorithms.isEmpty(enName)) { + if (!Algorithms.isEmpty(enName)) { return getEnName(transliterate); } } else {