mirror of https://github.com/minetest/minetest.git
More spacing.
This commit is contained in:
parent
ce945502c0
commit
57b960292e
|
@ -1020,14 +1020,14 @@ void GUIFormSpecMenu::parseSimpleField(parserData* data,
|
||||||
(size.X / 2 - 150) + 300, pos.Y + (m_btn_height*2));
|
(size.X / 2 - 150) + 300, pos.Y + (m_btn_height*2));
|
||||||
|
|
||||||
|
|
||||||
if(m_form_src)
|
if (m_form_src) {
|
||||||
default_val = m_form_src->resolveText(default_val);
|
default_val = m_form_src->resolveText(default_val);
|
||||||
|
}
|
||||||
|
|
||||||
std::wstring wtext = utf8_to_wide(unescape_string(default_val));
|
std::wstring wtext = utf8_to_wide(unescape_string(default_val));
|
||||||
if(!data->editbox_dyndata[name].empty())
|
if (!data->editbox_dyndata[name].empty()) {
|
||||||
wtext = data->editbox_dyndata[name];
|
wtext = data->editbox_dyndata[name];
|
||||||
|
}
|
||||||
std::wstring wlabel = utf8_to_wide(unescape_string(label));
|
std::wstring wlabel = utf8_to_wide(unescape_string(label));
|
||||||
|
|
||||||
FieldSpec spec(
|
FieldSpec spec(
|
||||||
|
|
Loading…
Reference in New Issue