projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: More AltosState hacking
[fw/altos]
/
altosui
/
AltosKML.java
diff --git
a/altosui/AltosKML.java
b/altosui/AltosKML.java
index b79f5c9e155fb8e089a8000fe35d3074315f6248..8679178f5af170c4c5b64bd7214a64727e655d12 100644
(file)
--- a/
altosui/AltosKML.java
+++ b/
altosui/AltosKML.java
@@
-110,8
+110,8
@@
public class AltosKML implements AltosWriter {
AltosGPS gps = state.gps;
double altitude;
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,
else
altitude = gps.alt;
out.printf(kml_coord_fmt,