mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 06:36:44 +00:00
Ignore case for content file extensions
This commit is contained in:
parent
4b4025ed0f
commit
8391891a5b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ namespace MWWorld
|
||||||
|
|
||||||
void load(const boost::filesystem::path& filepath, int& index)
|
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())
|
if (it != mLoaders.end())
|
||||||
{
|
{
|
||||||
it->second->load(filepath, index);
|
it->second->load(filepath, index);
|
||||||
|
|
Loading…
Reference in a new issue