Try to squash double-decodes and gibberish prints.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7133 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2016-10-01 18:13:39 +00:00
parent 31032468a9
commit 4fe86cef1e

View File

@ -2314,6 +2314,7 @@ void::MainWindow::fast_decode_done()
} }
if(m_msg[i][0]==0) break; if(m_msg[i][0]==0) break;
QString message=QString::fromLatin1(m_msg[i]); QString message=QString::fromLatin1(m_msg[i]);
m_msg[i][0]=0;
if(message.length()>80) message=message.mid(0,80); if(message.length()>80) message=message.mid(0,80);
if(narg[13]/8==narg[12]) message=message.trimmed().replace("<...>",m_calls); if(narg[13]/8==narg[12]) message=message.trimmed().replace("<...>",m_calls);