summaryrefslogtreecommitdiff
path: root/altosui/AltosKML.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-09-02 23:10:23 -0600
committerKeith Packard <keithp@keithp.com>2013-09-02 23:11:52 -0600
commit528e2e41112cad8a81bccbb89c3bd202b818a506 (patch)
tree2c2076a5d1972681ba3300e9a44636b526efaa82 /altosui/AltosKML.java
parent224a1e01bacb7db0076129906ed58e1c785e1b14 (diff)
altoslib: More AltosState hacking
EasyMini graphs are looking good now. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosKML.java')
-rw-r--r--altosui/AltosKML.java4
1 files changed, 2 insertions, 2 deletions
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,