Fix Android input box crash

This commit is contained in:
ROllerozxa 2022-06-13 19:13:15 +02:00 committed by sfan5
parent 0f3f1a001c
commit 992f501159

@ -252,11 +252,6 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
return retval; return retval;
m_jni_field_name = field_name; 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 // single line text input
int type = 2; int type = 2;