From 73a113d772594c395707d5deccc0f2536f74697f Mon Sep 17 00:00:00 2001 From: darkrose Date: Fri, 14 Nov 2014 17:51:00 +1000 Subject: [PATCH] make special characters actually work --- src/character_creator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/character_creator.cpp b/src/character_creator.cpp index 50d179e..9173808 100644 --- a/src/character_creator.cpp +++ b/src/character_creator.cpp @@ -244,8 +244,7 @@ void GUICharDefMenu::regenerateGui(v2u32 screensize) { core::rect rect(0, 0, 105, 30); rect += rightside + v2s32(15, 95); - std::wstring txt = wgettext("Taller"); - Environment->addButton(rect, this, GUI_ID_CD_TALLER_BUTTON, txt.c_str()); + Environment->addButton(rect, this, GUI_ID_CD_TALLER_BUTTON, wgettext("Taller")); } { core::rect rect(0, 0, 105, 30);