From a64e80673c6d9d0fef166d14260d43062584ea0c Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Wed, 25 Jun 2025 08:28:59 +0200 Subject: [PATCH] Remove old ';' check as I don't think anyone is using this at all --- src/input/input_handler.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/input/input_handler.cpp b/src/input/input_handler.cpp index 7c4e19103..1f7ba6bea 100644 --- a/src/input/input_handler.cpp +++ b/src/input/input_handler.cpp @@ -259,11 +259,6 @@ void ParseInputConfig(const std::string game_id = "") { std::string output_string = line.substr(0, equal_pos); std::string input_string = line.substr(equal_pos + 1); - // Remove trailing semicolon from input_string - if (!input_string.empty() && input_string[input_string.length() - 1] == ';' && - input_string != ";") { - line = line.substr(0, line.length() - 1); - } std::size_t comma_pos = input_string.find(','); auto parseInt = [](const std::string& s) -> std::optional {