aboutsummaryrefslogtreecommitdiff
path: root/src/guiPauseMenu.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/guiPauseMenu.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/guiPauseMenu.cpp')
-rw-r--r--src/guiPauseMenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp
index c704cd3fb..6cf364e5f 100644
--- a/src/guiPauseMenu.cpp
+++ b/src/guiPauseMenu.cpp
@@ -103,6 +103,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize)
const s32 btn_gap = 20;
const s32 btn_num = 4;
s32 btn_y = size.Y/2-((btn_num*btn_height+(btn_num-1)*btn_gap))/2;
+ changeCtype("");
{
core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
@@ -180,6 +181,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize)
Environment->addStaticText(narrow_to_wide(os.str()).c_str(), rect, false, true, this, 259);
}
+ changeCtype("C");
}
void GUIPauseMenu::drawMenu()