Mofe the Q65 end-of-line flags so they're not so far to the right.

This commit is contained in:
Joe Taylor 2020-12-30 13:06:33 -05:00
parent 77a0e01b05
commit 197fd6a5ba

View File

@ -438,6 +438,7 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con
extra += QString {"%1"}.arg (fSpread, 5, 'f', fSpread < 0.95 ? 3 : 2) + QChar {' '};
}
auto ap_pos = message.lastIndexOf (QRegularExpression {R"((?:\?\s)?a[0-9]$)"});
if(ap_pos<0) ap_pos = message.lastIndexOf("q"); //Check for "q" decodes (used in Q65 only)
if (ap_pos >= 0)
{
extra += message.mid (ap_pos) + QChar {' '};