Changeset 4811 in josm


Ignore:
Timestamp:
17.01.2012 15:01:17 (4 months 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.