Update MapObject.java
This commit is contained in:
parent
87744e180b
commit
11ddc65409
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ public abstract class MapObject implements Comparable<MapObject> {
|
||||||
if (lang != null && lang.length() > 0) {
|
if (lang != null && lang.length() > 0) {
|
||||||
if (lang.equals("en")) {
|
if (lang.equals("en")) {
|
||||||
// for some objects like wikipedia, english name is stored 'name' tag
|
// for some objects like wikipedia, english name is stored 'name' tag
|
||||||
if (Algorithms.isEmpty(enName)) {
|
if (!Algorithms.isEmpty(enName)) {
|
||||||
return getEnName(transliterate);
|
return getEnName(transliterate);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue