Changeset 8102 in josm


Ignore:
Timestamp:
2015-02-23T17:08:12+01:00 (9 years ago)
Author:
stoecker
Message:

fix #11155 - don't add subdir slash multiple times - why do the recent changes trigger that bug?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r8097 r8102  
    709709            if (subdir == null) {
    710710                subdir = "";
    711             } else if (!subdir.isEmpty()) {
     711            } else if (!subdir.isEmpty() && !subdir.endsWith("/")) {
    712712                subdir += "/";
    713713            }
Note: See TracChangeset for help on using the changeset viewer.