Changeset 5004 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-02-20T12:32:21+01:00 (13 years ago)
Author:
xeen
Message:

fix #7426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java

    r5003 r5004  
    173173            t = hasEllipsis ? t.substring(ellipsis.length()) : t;
    174174            // cut next block, and re-add ellipsis
    175             t = ellipsis + t.split(separator, 2)[1];
     175            t = ellipsis + t.substring(t.indexOf(separator) + 1);
    176176            hasEllipsis = true;
    177177        }
Note: See TracChangeset for help on using the changeset viewer.