Changeset 4811 in josm


Ignore:
Timestamp:
2012-01-17T15:01:17+01:00 (8 years ago)
Author:
bastiK
Message:

make custom pref folder absolute to avoid local paths in preference values

File:
1 edited

Legend:

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

    r4810 r4811  
    246246        path = System.getProperty("josm.home");
    247247        if (path != null) {
    248             preferencesDirFile = new File(path);
     248            preferencesDirFile = new File(path).getAbsoluteFile();
    249249        } else {
    250250            path = System.getenv("APPDATA");
Note: See TracChangeset for help on using the changeset viewer.