mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
Broken lower-casing fix
This commit is contained in:
parent
e4751c68e9
commit
4dd4c5394b
@ -168,7 +168,7 @@ void CSMWorld::RegionMap::updateRegions (const std::vector<std::string>& regions
|
|||||||
{
|
{
|
||||||
std::vector<std::string> regions2 (regions);
|
std::vector<std::string> regions2 (regions);
|
||||||
|
|
||||||
std::for_each (regions2.begin(), regions2.end(), &Misc::StringUtils::lowerCase);
|
std::for_each (regions2.begin(), regions2.end(), Misc::StringUtils::toLowerStr);
|
||||||
std::sort (regions2.begin(), regions2.end());
|
std::sort (regions2.begin(), regions2.end());
|
||||||
|
|
||||||
for (std::map<CellCoordinates, CellDescription>::const_iterator iter (mMap.begin());
|
for (std::map<CellCoordinates, CellDescription>::const_iterator iter (mMap.begin());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user