Changeset 9586 in josm


Ignore:
Timestamp:
2016-01-23T16:38:49+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #12374 - compression option for autosave (patch by kolesar)

File:
1 edited

Legend:

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

    r9296 r9586  
    159159            String filename = String.format("%1$s_%2$tY%2$tm%2$td_%2$tH%2$tM%2$tS%2$tL%3$s",
    160160                    layer.layerFileName, now, index == 0 ? "" : '_' + index);
    161             File result = new File(autosaveDir, filename+".osm");
     161            File result = new File(autosaveDir, filename + "." + Main.pref.get("autosave.extension", "osm"));
    162162            try {
    163163                if (result.createNewFile()) {
Note: See TracChangeset for help on using the changeset viewer.