mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 09:09:40 +00:00
Check extension in lower case
This commit is contained in:
parent
ad492c5735
commit
5129ab39fc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue