Fix report extraction from short code messages

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7826 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2017-07-09 20:45:45 +00:00
parent bd07faeec2
commit d899d11084
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ bool DecodedText::report(QString const& myBaseCall, QString const& dxBaseCall, /
{
QString msg=_string.mid(column_qsoText).trimmed();
if(msg.length() < 1) return false;
msg = msg.remove (QRegularExpression {"[<>]"});
msg = msg.left (22).remove (QRegularExpression {"[<>]"});
int i1=msg.indexOf('\r');
if (i1>0)
msg=msg.left (i1-1);