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;\ }\ \