X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosui%2FAltosUI.java;h=2121690c87b367ddde06fb711c9bd41fe47dfd1c;hp=f50c32e3d38127d2e98e307f85dfa6e449bd56ce;hb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;hpb=f28db1102685c87b9f4278268f7e91f5df18374a diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index f50c32e3..2121690c 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.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 @@ -492,8 +493,8 @@ public class AltosUI extends AltosUIFrame { if (states == null) return false; try { - AltosFlightStats stats = new AltosFlightStats(states); System.out.printf("%s:\n", file.toString()); + AltosFlightStats stats = new AltosFlightStats(states); if (stats.serial != AltosLib.MISSING) System.out.printf("Serial: %5d\n", stats.serial); if (stats.flight != AltosLib.MISSING)