1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Ignore case for content file extensions

This commit is contained in:
scrawl 2013-11-30 14:25:29 +01:00
parent 4b4025ed0f
commit 8391891a5b

View File

@ -107,7 +107,7 @@ namespace MWWorld
void load(const boost::filesystem::path& filepath, int& index)
{
LoadersContainer::iterator it(mLoaders.find(filepath.extension().string()));
LoadersContainer::iterator it(mLoaders.find(Misc::StringUtils::lowerCase(filepath.extension().string())));
if (it != mLoaders.end())
{
it->second->load(filepath, index);