From 5c7dd29013b6a19d7231fb966985c29c5133e18c Mon Sep 17 00:00:00 2001 From: Efosamark Date: Thu, 5 Sep 2024 22:07:10 +0300 Subject: [PATCH] rollback --- source/text_funcs.hpp | 2 +- source/utils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/text_funcs.hpp b/source/text_funcs.hpp index 733c3fdc..89377070 100644 --- a/source/text_funcs.hpp +++ b/source/text_funcs.hpp @@ -14,7 +14,7 @@ std::pair readTextFromFile(const std::string& filePath) std::ifstream file(filePath); std::vector words; int lineCount = 0; - size_t maxRowLength = 34; + size_t maxRowLength = 35; std::string line; while (std::getline(file, line)) { diff --git a/source/utils.hpp b/source/utils.hpp index e283ccd1..8b66eae3 100644 --- a/source/utils.hpp +++ b/source/utils.hpp @@ -922,7 +922,7 @@ std::pair dispCustData(const std::string& jsonPath, const std: } } } - if (ref != "") { + if (ref == "") { int intValue = reversedHexToInt(currentHex); if (j_increment) { // Add increment value from the JSON to the displayed value intValue += std::stoi(json_string_value(j_increment));