Changeset 516 in josm


Ignore:
Timestamp:
2008-01-08T20:47:05+01:00 (17 years ago)
Author:
gebner
Message:

SaveActionBase: Append extension to file name instead of replacing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r510 r516  
    9898                        FileFilter ff = fc.getFileFilter();
    9999                        if (ff instanceof ExtensionFileFilter)
    100                                 fn = "." + ((ExtensionFileFilter)ff).defaultExtension;
     100                                fn += "." + ((ExtensionFileFilter)ff).defaultExtension;
    101101                        else
    102102                                fn += ".osm";
Note: See TracChangeset for help on using the changeset viewer.