Changeset 12945 in josm


Ignore:
Timestamp:
2017-10-08T14:22:20+02:00 (10 days ago)
Author:
bastiK
Message:

see #15410 - fix display of custom layer color

File:
1 edited

Legend:

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

    r12944 r12945  
    9696
    9797    private static final String COLOR_PREFIX = "color.";
    98     private static final Pattern COLOR_LAYER_PATTERN = Pattern.compile("layer (.+)");
     98    private static final Pattern COLOR_LAYER_PATTERN = Pattern.compile("layer\\.(.+)");
    9999    private static final Pattern COLOR_MAPPAINT_PATTERN = Pattern.compile("mappaint\\.(.+?)\\.(.+)");
    100100
Note: See TracChangeset for help on using the changeset viewer.