mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Change magic 36 back to 37; does this break something else?
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8038 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
a3c65d72bb
commit
23008fdbd1
@ -3691,9 +3691,9 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
|||||||
|
|
||||||
if (decodedtext.indexOf(" CQ ") > 0) {
|
if (decodedtext.indexOf(" CQ ") > 0) {
|
||||||
// TODO this magic 37 characters is also referenced in DisplayText::_appendDXCCWorkedB4()
|
// TODO this magic 37 characters is also referenced in DisplayText::_appendDXCCWorkedB4()
|
||||||
auto eom_pos = decodedtext.string ().indexOf (' ', 36);
|
auto eom_pos = decodedtext.string ().indexOf (' ', 37);
|
||||||
if (eom_pos < 36) eom_pos = decodedtext.string ().size () - 1; // we always want at least the characters
|
if (eom_pos < 37) eom_pos = decodedtext.string ().size () - 1; // we always want at least the characters
|
||||||
// to position 36
|
// to position 37
|
||||||
decodedtext = decodedtext.string ().left (eom_pos + 1); // remove DXCC entity and worked B4 status. TODO need a better way to do this
|
decodedtext = decodedtext.string ().left (eom_pos + 1); // remove DXCC entity and worked B4 status. TODO need a better way to do this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user