summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-15 23:26:33 -0700
committerKeith Packard <keithp@keithp.com>2013-04-15 23:26:33 -0700
commitd5a557004c00d1ae25da04dc63c78b816562a236 (patch)
tree5bb445535dff43b13f8e0e5c75d829ac57454db5
parent6592a5be127a9c95d3b2e7d5aa6ffba71c6748b9 (diff)
parent5b041769dc926f0aa18072f46abca60b11ede44b (diff)
Merge branch 'master' into droid-gps
-rw-r--r--altosui/AltosFlightUI.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java
index 6b258f2e..6d010d23 100644
--- a/altosui/AltosFlightUI.java
+++ b/altosui/AltosFlightUI.java
@@ -101,10 +101,8 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay, A
public void show(AltosState state, AltosListenerState listener_state) {
status_update.saved_state = state;
- if (state == null) {
- System.out.printf ("no state provided\n");
+ if (state == null)
state = new AltosState(new AltosRecord());
- }
pad.show(state, listener_state);