Decoded text needs padding for columns
This commit is contained in:
parent
5313706818
commit
24392fdaf3
@ -25,7 +25,7 @@ DecodedText::DecodedText (QString const& the_string, bool contest_mode, QString
|
|||||||
, isHeartbeat_(false)
|
, isHeartbeat_(false)
|
||||||
, isAlt_(false)
|
, isAlt_(false)
|
||||||
, bits_{0}
|
, bits_{0}
|
||||||
, submode_{ string_.mid(column_mode, 3).trimmed().at(0).cell() - 'A' }
|
, submode_{ string_.mid(column_mode + padding_, 3).trimmed().at(0).cell() - 'A' }
|
||||||
{
|
{
|
||||||
if(message_.length() >= 1) {
|
if(message_.length() >= 1) {
|
||||||
message_ = message_.left (21).remove (QRegularExpression {"[<>]"});
|
message_ = message_.left (21).remove (QRegularExpression {"[<>]"});
|
||||||
|
Loading…
Reference in New Issue
Block a user