X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosConfigFC.java;h=20ca311e30d1ce7b9e4e67d6f8f38c27606b0ea3;hb=c4708930ebfbc056bb4faae9b23720d3be401978;hp=66afd8a0d3521f89d01ddd1e9aa4ea8fbc1aab1c;hpb=52149fd81df45f37f5097850795f290f463c43ef;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(),