FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooser
authorKahrl <kahrl@gmx.net>
Thu, 28 Apr 2016 18:27:59 +0000 (20:27 +0200)
committerKahrl <kahrl@gmx.net>
Sun, 1 May 2016 14:32:12 +0000 (16:32 +0200)
src/guiFileSelectMenu.cpp

index e02407427f51907ae9e88ce3a001f572578cf9a0..0bb02f8a6cee740d87ccaf09aa27e7a384406634 100644 (file)
@@ -36,6 +36,7 @@ GUIModalMenu(env, parent, id, menumgr)
 GUIFileSelectMenu::~GUIFileSelectMenu()
 {
        removeChildren();
+       setlocale(LC_NUMERIC, "C");
 }
 
 void GUIFileSelectMenu::removeChildren()