Check extension in lower case

pull/3225/head
elsid 3 years ago
parent ad492c5735
commit 5129ab39fc
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -218,7 +218,7 @@ namespace EsmLoader
for (std::size_t i = 0; i < contentFiles.size(); ++i)
{
const std::string &file = contentFiles[i];
const std::string extension = boost::filesystem::path(file).extension().string();
const std::string extension = Misc::StringUtils::lowerCase(boost::filesystem::path(file).extension().string());
if (supportedFormats.find(extension) == supportedFormats.end())
{

Loading…
Cancel
Save