diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-08-02 01:49:31 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-08-02 01:49:31 -0700 |
commit | f143e269f47fd024f69c3f536b558fbac4828b41 (patch) | |
tree | c74639d3fb5641a4b051f7533c77a13124f913c2 /src/guiPauseMenu.cpp | |
parent | bbd8e645a2e92157ac33e5bb1a89786d7f0c984c (diff) | |
parent | 1d1aec9631e3ae077db6060f0fe19487b7b23aae (diff) | |
download | minetest-f143e269f47fd024f69c3f536b558fbac4828b41.tar.gz minetest-f143e269f47fd024f69c3f536b558fbac4828b41.tar.bz2 minetest-f143e269f47fd024f69c3f536b558fbac4828b41.zip |
Merge pull request #48 from Oblomov/master
Minor code cleanups (always in the gettext area, but no functional changs)
Diffstat (limited to 'src/guiPauseMenu.cpp')
-rw-r--r-- | src/guiPauseMenu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp index 6cf364e5f..8ccf0c468 100644 --- a/src/guiPauseMenu.cpp +++ b/src/guiPauseMenu.cpp @@ -108,28 +108,28 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize) core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
Environment->addButton(rect, this, 256,
- chartowchar_t(gettext("Continue")));
+ wgettext("Continue"));
}
btn_y += btn_height + btn_gap;
{
core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
Environment->addButton(rect, this, 261,
- chartowchar_t(gettext("Change Password")));
+ wgettext("Change Password"));
}
btn_y += btn_height + btn_gap;
{
core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
Environment->addButton(rect, this, 260,
- chartowchar_t(gettext("Disconnect")));
+ wgettext("Disconnect"));
}
btn_y += btn_height + btn_gap;
{
core::rect<s32> rect(0, 0, 140, btn_height);
rect = rect + v2s32(size.X/2-140/2, btn_y);
Environment->addButton(rect, this, 257,
- chartowchar_t(gettext("Exit to OS")));
+ wgettext("Exit to OS"));
}
{
|