Changeset 10920 in josm


Ignore:
Timestamp:
2016-08-31T17:13:56+02:00 (8 years ago)
Author:
michael2402
Message:

See #13309: Do not add 'color.' prefix twice in getColor()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r10876 r10920  
    847847        String colStr = specName != null ? get("color."+specName) : "";
    848848        if (colStr.isEmpty()) {
    849             colStr = get("color." + colKey, ColorHelper.color2html(def, true));
     849            colStr = get(colKey, ColorHelper.color2html(def, true));
    850850        }
    851851        if (colStr != null && !colStr.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.