1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 09:45:36 +00:00

removed encoding workaround for attribute names

This commit is contained in:
Marc Zinnschlag 2010-07-31 19:41:15 +02:00
parent 00c0a50f7f
commit 9fafac1ef8

View file

@ -31,10 +31,7 @@ namespace MWMechanics
for (int i=0; names[i][0]; ++i)
{
// This crashes because of encoding problems:
// std::string label = mStore.gameSettings.find (names[i][1])->str;
std::string label = names[i][1]; // until the problem is fixed, use the GMST ID as label
std::string label = mStore.gameSettings.find (names[i][1])->str;
mWindowManager.setLabel (names[i][0], label);
}