X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosdroid%2Fsrc%2Forg%2Faltusmetrum%2FAltosDroid%2FTabFlight.java;h=8997d967dccee52c435225a9036daa3dbee1417b;hb=297eb795b24ec31f6599f48bc8c3769557a7ec6f;hp=a02ae3a2f00efca299f92ffa739b2faafc45e641;hpb=643c2fb03833d658320f476ef731bbb06fe3cc31;p=fw%2Faltos diff --git a/altosdroid/src/org/altusmetrum/AltosDroid/TabFlight.java b/altosdroid/src/org/altusmetrum/AltosDroid/TabFlight.java index a02ae3a2..8997d967 100644 --- a/altosdroid/src/org/altusmetrum/AltosDroid/TabFlight.java +++ b/altosdroid/src/org/altusmetrum/AltosDroid/TabFlight.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 @@ -17,7 +18,7 @@ package org.altusmetrum.AltosDroid; -import org.altusmetrum.altoslib_7.*; +import org.altusmetrum.altoslib_13.*; import android.app.Activity; import android.os.Bundle; @@ -87,7 +88,7 @@ public class TabFlight extends AltosDroidTab { set_value(speed_view, AltosConvert.speed, 6, state.speed()); set_value(height_view, AltosConvert.height, 6, state.height()); set_value(max_speed_view, AltosConvert.speed, 6, state.max_speed()); - set_value(max_height_view, AltosConvert.speed, 6, state.max_height()); + set_value(max_height_view, AltosConvert.height, 6, state.max_height()); if (from_receiver != null) { elevation_view.setText(AltosDroid.number("%3.0f°", from_receiver.elevation)); set_value(range_view, AltosConvert.distance, 6, from_receiver.range);