Changeset 16947 in josm for trunk/src/org


Ignore:
Timestamp:
2020-08-28T20:16:27+02:00 (4 years ago)
Author:
simon04
Message:

see #19717 - Fix unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialog.java

    r16881 r16947  
    129129        try {
    130130            for (IPrimitive osm : sel) {
    131                 String heading = tr("Styles for \"{0}\":", osm.getDisplayName(DefaultNameFormatter.getInstance()));
     131                String heading = tr("Styles for \"{0}\":", osm.getDisplayName(DefaultNameFormatter.getInstance())
     132                        .replace(Character.toString(DefaultNameFormatter.BIDI_FIRST_STRONG_ISOLATE), "")
     133                        .replace(Character.toString(DefaultNameFormatter.BIDI_POP_DIRECTIONAL_ISOLATE), ""));
    132134                txtMappaint.println(heading);
    133135                txtMappaint.println(repeatString("=", heading.length()));
Note: See TracChangeset for help on using the changeset viewer.