From 9fafac1ef8b4c52546b92f9d0565a508ced800eb Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sat, 31 Jul 2010 19:41:15 +0200 Subject: [PATCH] removed encoding workaround for attribute names --- apps/openmw/mwmechanics/mechanicsmanager.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/openmw/mwmechanics/mechanicsmanager.cpp b/apps/openmw/mwmechanics/mechanicsmanager.cpp index 0ba3c8f61..0c8cce8bd 100644 --- a/apps/openmw/mwmechanics/mechanicsmanager.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanager.cpp @@ -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); }