mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Get rid of wgettext
This commit is contained in:
parent
35929d27e3
commit
67068cfaf4
13 changed files with 116 additions and 191 deletions
|
@ -3405,9 +3405,8 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
|
|||
size.X / 2 - 70, pos.Y,
|
||||
size.X / 2 - 70 + 140, pos.Y + m_btn_height * 2
|
||||
);
|
||||
const wchar_t *text = wgettext("Proceed");
|
||||
GUIButton::addButton(Environment, mydata.rect, m_tsrc, this, 257, text);
|
||||
delete[] text;
|
||||
GUIButton::addButton(Environment, mydata.rect, m_tsrc, this, 257,
|
||||
wstrgettext("Proceed").c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue