From ed791f26ddf6fcbb7b5e1c7a6051f70a5dad34b3 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 1 Sep 2018 20:58:21 -0400 Subject: [PATCH] Fix a false flagging of ARRL Field Day message. --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index c1bc6ece4..6d002e3ed 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4298,7 +4298,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie int n=t.size(); QString t0=t.at(n-2); QString t1=t0.right(1); - bool bFieldDay_msg = (t1>="A" and t1<="F"); + bool bFieldDay_msg = (t1>="A" and t1<="F" and t0.size()<=3 and n>=9); int m=t0.remove(t1).toInt(); if(m < 1) bFieldDay_msg=false; if(bFieldDay_msg) {