From 8fe753c3d96957cb9d58d9f82677b993effe3652 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Thu, 28 Apr 2016 20:27:59 +0200 Subject: [PATCH] FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooser --- src/guiFileSelectMenu.cpp | 1 + 1 file changed, 1 insertion(+) 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()