X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altoslib%2FAltosPyro.java;h=3afd03e00c59bd2b4df03fb416c7f60f0d5350c8;hb=60f4d69592c440ab7bb67a04f4c07fc7279d2c20;hp=28e65bc2f9b52de27de4d0051b1e08d53ec4dc89;hpb=6a6da23335e6e5864387c7a22946f80f51056a4f;p=fw%2Faltos diff --git a/altoslib/AltosPyro.java b/altoslib/AltosPyro.java index 28e65bc2..3afd03e0 100644 --- a/altoslib/AltosPyro.java +++ b/altoslib/AltosPyro.java @@ -138,7 +138,7 @@ public class AltosPyro { units = pyro_to_units.get(flag); if (units == null) return name; - return String.format ("%s (%s)", name, units.show_units()); + return String.format ("%s (%s)", name, units.parse_units()); } public static AltosUnits pyro_to_units(int flag) {