mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-17 09:05:19 -04:00
Fix a false flagging of ARRL Field Day message.
This commit is contained in:
parent
410cd2b9a1
commit
ed791f26dd
@ -4298,7 +4298,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
|
|||||||
int n=t.size();
|
int n=t.size();
|
||||||
QString t0=t.at(n-2);
|
QString t0=t.at(n-2);
|
||||||
QString t1=t0.right(1);
|
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();
|
int m=t0.remove(t1).toInt();
|
||||||
if(m < 1) bFieldDay_msg=false;
|
if(m < 1) bFieldDay_msg=false;
|
||||||
if(bFieldDay_msg) {
|
if(bFieldDay_msg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user