From 5e0eb7efe307f738596cefa0b20413c04207b07a Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 26 Apr 2024 12:10:17 +0200 Subject: [PATCH] fix currentSection parsing --- src/osuparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osuparser.cpp b/src/osuparser.cpp index bb5cd52..29a94fc 100644 --- a/src/osuparser.cpp +++ b/src/osuparser.cpp @@ -54,7 +54,7 @@ inline std::string checkAndRemove(const std::string &str, const std::string &pre \ if (line.starts_with('[') && line.ends_with(']')) {\ currentSection = line.substr(1, line.length() - 2);\ - toLower(currentSection);\ + currentSection[0] = std::tolower(currentSection[0]);\ continue;\ }\ \