mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-20 02:52:00 -05:00
Prevent crash when transmitting a 2-word message.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3123 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e956a01e95
commit
b0bdd95949
@ -1385,8 +1385,7 @@ void MainWindow::guiUpdate()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString t2=QDateTime::currentDateTimeUtc().toString("hhmm");
|
QString t2=QDateTime::currentDateTimeUtc().toString("hhmm");
|
||||||
if(itext==0 and w[1]==m_myCall) {
|
if(itext==0 and w[1]==m_myCall and w.length()>=3) {
|
||||||
t=w[2];
|
|
||||||
int i1;
|
int i1;
|
||||||
bool ok;
|
bool ok;
|
||||||
i1=t.toInt(&ok);
|
i1=t.toInt(&ok);
|
||||||
@ -1403,7 +1402,7 @@ void MainWindow::guiUpdate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(itext==1 or w[2]=="73") m_qsoStop=t2;
|
if(itext==1 or (w.length()==3 and w[2]=="73")) m_qsoStop=t2;
|
||||||
m_restart=false;
|
m_restart=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user