aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2016-04-28 20:27:59 +0200
committerKahrl <kahrl@gmx.net>2016-05-01 16:32:12 +0200
commit8fe753c3d96957cb9d58d9f82677b993effe3652 (patch)
treeafa32b5d565b74c2bf3a54d80f910069aeb20967
parentaa8c88cf4a61362ada473fc058fbfb50aa235d23 (diff)
downloadminetest-8fe753c3d96957cb9d58d9f82677b993effe3652.tar.gz
minetest-8fe753c3d96957cb9d58d9f82677b993effe3652.tar.bz2
minetest-8fe753c3d96957cb9d58d9f82677b993effe3652.zip
FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooser
-rw-r--r--src/guiFileSelectMenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guiFileSelectMenu.cpp b/src/guiFileSelectMenu.cpp
index e02407427..0bb02f8a6 100644
--- a/src/guiFileSelectMenu.cpp
+++ b/src/guiFileSelectMenu.cpp
@@ -36,6 +36,7 @@ GUIModalMenu(env, parent, id, menumgr)
GUIFileSelectMenu::~GUIFileSelectMenu()
{
removeChildren();
+ setlocale(LC_NUMERIC, "C");
}
void GUIFileSelectMenu::removeChildren()