diff --git a/apps/opencs/model/world/scriptcontext.cpp b/apps/opencs/model/world/scriptcontext.cpp index 6d97d75ce..0d2b9984e 100644 --- a/apps/opencs/model/world/scriptcontext.cpp +++ b/apps/opencs/model/world/scriptcontext.cpp @@ -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;