From: Kahrl Date: Thu, 28 Apr 2016 18:27:59 +0000 (+0200) Subject: FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooser X-Git-Tag: 0.4.14~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fe753c3d96957cb9d58d9f82677b993effe3652;p=oweals%2Fminetest.git FileSelectMenu: Fix formspec parsing broken by Irrlicht file-chooser --- 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()