make special characters actually work

This commit is contained in:
darkrose 2014-11-14 17:51:00 +10:00
parent 07a59f23c9
commit 73a113d772
1 changed files with 1 additions and 2 deletions

View File

@ -244,8 +244,7 @@ void GUICharDefMenu::regenerateGui(v2u32 screensize)
{ {
core::rect<s32> rect(0, 0, 105, 30); core::rect<s32> rect(0, 0, 105, 30);
rect += rightside + v2s32(15, 95); rect += rightside + v2s32(15, 95);
std::wstring txt = wgettext("Taller"); Environment->addButton(rect, this, GUI_ID_CD_TALLER_BUTTON, wgettext("Taller"));
Environment->addButton(rect, this, GUI_ID_CD_TALLER_BUTTON, txt.c_str());
} }
{ {
core::rect<s32> rect(0, 0, 105, 30); core::rect<s32> rect(0, 0, 105, 30);