summaryrefslogtreecommitdiff
path: root/src/gui/guiPathSelectMenu.cpp
diff options
context:
space:
mode:
authorparadust7 <102263465+paradust7@users.noreply.github.com>2022-05-21 15:11:59 -0700
committerGitHub <noreply@github.com>2022-05-22 00:11:59 +0200
commit9f338f5a56e5adee3d11d59827f7e2b8a714e6c2 (patch)
treea16861160b117c68078c686a02cd5aca6385c66d /src/gui/guiPathSelectMenu.cpp
parent2742fef458c3626476193c9e2d1b9231e042e420 (diff)
downloadminetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.tar.gz
minetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.tar.bz2
minetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.zip
Replace all uses of core::list with std::list (#12313)
Diffstat (limited to 'src/gui/guiPathSelectMenu.cpp')
-rw-r--r--src/gui/guiPathSelectMenu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/guiPathSelectMenu.cpp b/src/gui/guiPathSelectMenu.cpp
index 489927a11..9c63e06b5 100644
--- a/src/gui/guiPathSelectMenu.cpp
+++ b/src/gui/guiPathSelectMenu.cpp
@@ -32,13 +32,12 @@ GUIFileSelectMenu::GUIFileSelectMenu(gui::IGUIEnvironment* env,
GUIFileSelectMenu::~GUIFileSelectMenu()
{
- removeChildren();
setlocale(LC_NUMERIC, "C");
}
void GUIFileSelectMenu::regenerateGui(v2u32 screensize)
{
- removeChildren();
+ removeAllChildren();
m_fileOpenDialog = 0;
core::dimension2du size(600 * m_gui_scale, 400 * m_gui_scale);