From 24392fdaf370ad339f22f140ead5a9923915f9d3 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 21 Oct 2019 14:17:16 -0400 Subject: [PATCH] Decoded text needs padding for columns --- decodedtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decodedtext.cpp b/decodedtext.cpp index e46ab11..770b09c 100644 --- a/decodedtext.cpp +++ b/decodedtext.cpp @@ -25,7 +25,7 @@ DecodedText::DecodedText (QString const& the_string, bool contest_mode, QString , isHeartbeat_(false) , isAlt_(false) , 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) { message_ = message_.left (21).remove (QRegularExpression {"[<>]"});