X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosConfigFC.java;h=20ca311e30d1ce7b9e4e67d6f8f38c27606b0ea3;hb=1fa1ba86f6e6e4ff469f0680cdbc39bc806474a4;hp=66afd8a0d3521f89d01ddd1e9aa4ea8fbc1aab1c;hpb=76b288f8d02e0a48f04de9455a2dd0b77e48bd63;p=fw%2Faltos diff --git a/altosui/AltosConfigFC.java b/altosui/AltosConfigFC.java index 66afd8a0..20ca311e 100644 --- a/altosui/AltosConfigFC.java +++ b/altosui/AltosConfigFC.java @@ -232,7 +232,9 @@ public class AltosConfigFC implements ActionListener { try { /* bounds check stuff */ - if (config_ui.flight_log_max() > data.log_space() / 1024) { + if (config_ui.flight_log_max() != AltosLib.MISSING && + config_ui.flight_log_max() > data.log_space() / 1024) + { JOptionPane.showMessageDialog(owner, String.format("Requested flight log, %dk, is larger than the available space, %dk.\n", config_ui.flight_log_max(),