Ignore:
Timestamp:
2016-03-07T23:29:14+01:00 (4 years ago)
Author:
simon04
Message:

see #11516 - Add Sinusoidal projection

File:
1 edited

Legend:

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

    r9862 r9950  
    6363
    6464    private static DecimalFormat cDmsMinuteFormatter = new DecimalFormat("00");
    65     private static DecimalFormat cDmsSecondFormatter = new DecimalFormat(Main.pref.get("latlon.dms.decimal-format", "00.0"));
    66     private static DecimalFormat cDmMinuteFormatter = new DecimalFormat(Main.pref.get("latlon.dm.decimal-format", "00.000"));
     65    private static DecimalFormat cDmsSecondFormatter = new DecimalFormat(
     66            Main.pref == null ? "00.0" : Main.pref.get("latlon.dms.decimal-format", "00.0"));
     67    private static DecimalFormat cDmMinuteFormatter = new DecimalFormat(
     68            Main.pref == null ? "00.000" : Main.pref.get("latlon.dm.decimal-format", "00.000"));
    6769    public static final DecimalFormat cDdFormatter;
    6870    public static final DecimalFormat cDdHighPecisionFormatter;
Note: See TracChangeset for help on using the changeset viewer.