diff --git a/src/utils/filesystem.cpp b/src/utils/filesystem.cpp index 3ba4f752..d33a59d6 100644 --- a/src/utils/filesystem.cpp +++ b/src/utils/filesystem.cpp @@ -19,6 +19,7 @@ #include "loki/details/exceptions.hpp" +#include #include #include #include @@ -54,6 +55,9 @@ std::string read_file(const fs::path& file_path) tabPos += 4; // Move past the new spaces } + // Convert line to lowercase + std::transform(line.begin(), line.end(), line.begin(), [](unsigned char c) { return std::tolower(c); }); + buffer << line << '\n'; } return buffer.str();