1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-30 19:36:40 +00:00

fixed case-problem in OpenCS script compiler

This commit is contained in:
Marc Zinnschlag 2014-10-21 12:38:18 +02:00
parent 4047e3c928
commit 843493e90a

View file

@ -96,7 +96,7 @@ bool CSMWorld::ScriptContext::isId (const std::string& name) const
{
mIds = mData.getIds();
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::lowerCase);
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::toLower);
std::sort (mIds.begin(), mIds.end());
mIdsUpdated = true;