From 528e2e41112cad8a81bccbb89c3bd202b818a506 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 2 Sep 2013 23:10:23 -0600 Subject: altoslib: More AltosState hacking EasyMini graphs are looking good now. Signed-off-by: Keith Packard --- altosui/AltosKML.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'altosui/AltosKML.java') diff --git a/altosui/AltosKML.java b/altosui/AltosKML.java index b79f5c9e..8679178f 100644 --- a/altosui/AltosKML.java +++ b/altosui/AltosKML.java @@ -110,8 +110,8 @@ public class AltosKML implements AltosWriter { AltosGPS gps = state.gps; double altitude; - if (state.height != AltosRecord.MISSING) - altitude = state.height + gps_start_altitude; + if (state.height() != AltosRecord.MISSING) + altitude = state.height() + gps_start_altitude; else altitude = gps.alt; out.printf(kml_coord_fmt, -- cgit v1.2.3