aboutsummaryrefslogtreecommitdiff
path: root/src/guiMessageMenu.cpp
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 13:28:14 -0700
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 13:28:14 -0700
commit6199252cdaba1c5014ee3695c9d09a9179acd3d0 (patch)
tree1f5ca72d74a414546f3b45b69801d6677317a38a /src/guiMessageMenu.cpp
parent17830c5894fb6c2bbae73c3ce1046f8783b15e04 (diff)
parentc08720bfbaa0c02442f070c23569fcd44b653e9d (diff)
downloadminetest-6199252cdaba1c5014ee3695c9d09a9179acd3d0.tar.gz
minetest-6199252cdaba1c5014ee3695c9d09a9179acd3d0.tar.bz2
minetest-6199252cdaba1c5014ee3695c9d09a9179acd3d0.zip
Merge pull request #39 from SpeedProg/master
fixes for gettext to workaround some bad behaviour of Irrlicht
Diffstat (limited to 'src/guiMessageMenu.cpp')
-rw-r--r--src/guiMessageMenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiMessageMenu.cpp b/src/guiMessageMenu.cpp
index 155be6029..71c8fd1e8 100644
--- a/src/guiMessageMenu.cpp
+++ b/src/guiMessageMenu.cpp
@@ -85,6 +85,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
Environment->addStaticText(m_message_text.c_str(), rect, false,
true, this, 256);
}
+ changeCtype("");
{
core::rect<s32> rect(0, 0, 140, 30);
rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25);
@@ -93,6 +94,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
chartowchar_t(gettext("Proceed")));
Environment->setFocus(e);
}
+ changeCtype("C");
}
void GUIMessageMenu::drawMenu()