Render nameTag2 in parentheses

This commit is contained in:
xmd5a 2015-05-30 17:35:24 +03:00
parent b9040c6add
commit 87aebaba42

View file

@ -342,7 +342,7 @@ public class TextRenderer {
String tagNameN2 = o.getMapIndex().decodeType(tagid).tag; String tagNameN2 = o.getMapIndex().decodeType(tagid).tag;
if (tagName2.equals(tagNameN2)) { if (tagName2.equals(tagNameN2)) {
if (nname != null && nname.trim().length() > 0) { if (nname != null && nname.trim().length() > 0) {
text.text += " " + nname; text.text += " (" + nname +")";
} }
return false; return false;
} }