From 4e7a58c5d7a4a5ef500d90b2d86a74a843899165 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Wed, 28 May 2025 13:33:02 +0200 Subject: [PATCH] specifiy length of m_data when constructing string #55 --- Common/TextCollector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/TextCollector.cpp b/Common/TextCollector.cpp index 50a1b99..72ef630 100644 --- a/Common/TextCollector.cpp +++ b/Common/TextCollector.cpp @@ -139,5 +139,5 @@ std::string CTextCollector::getData() m_has2 = false; m_has3 = false; - return std::string("ABCDEFGHIJ0123456789"); + return std::string(m_data, TEXT_DATA_LENGTH); }