X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altoslib%2FAltosDistance.java;h=0239c5cec2670c5b0476aa2e6e28f57f863c06e5;hp=d6788fb5bd0e874087b50b9513d001d54926bf99;hb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;hpb=97adfff4cfb67c17a96f3ff46606b4e439422b01 diff --git a/altoslib/AltosDistance.java b/altoslib/AltosDistance.java index d6788fb5..0239c5ce 100644 --- a/altoslib/AltosDistance.java +++ b/altoslib/AltosDistance.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -95,7 +96,7 @@ public class AltosDistance extends AltosUnits { } }; - range_imperial[1] = new AltosUnitsRange(AltosConvert.feet_to_meters(5280), + range_imperial[1] = new AltosUnitsRange(AltosConvert.feet_to_meters(1000), "mi", "miles") { double value(double v) { return AltosConvert.meters_to_miles(v);