mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Fix Android input box crash
This commit is contained in:
parent
0f3f1a001c
commit
992f501159
@ -252,11 +252,6 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
|
||||
return retval;
|
||||
|
||||
m_jni_field_name = field_name;
|
||||
std::string label = wide_to_utf8(getLabelByID(hovered->getID()));
|
||||
if (label.empty())
|
||||
label = "text";
|
||||
/*~ Imperative, as in "Type in text" */
|
||||
std::string message = fmtgettext("Enter %s:");
|
||||
|
||||
// single line text input
|
||||
int type = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user