1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-15 18:39:51 +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(); 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()); std::sort (mIds.begin(), mIds.end());
mIdsUpdated = true; mIdsUpdated = true;