aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROllerozxa <temporaryemail4meh+github@gmail.com>2022-06-13 19:13:15 +0200
committersfan5 <sfan5@live.de>2022-06-14 19:22:22 +0200
commit992f501159b2fc6c5878d86cc477413250b4efa2 (patch)
treec130c0f5805dee8511837e2a4fdcf20921417e84
parent0f3f1a001c0dcaa91169bbc90900a47120bb2763 (diff)
downloadhax-minetest-server-992f501159b2fc6c5878d86cc477413250b4efa2.tar.gz
hax-minetest-server-992f501159b2fc6c5878d86cc477413250b4efa2.zip
Fix Android input box crash
-rw-r--r--src/gui/modalMenu.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp
index b05bed490..172eb11e6 100644
--- a/src/gui/modalMenu.cpp
+++ b/src/gui/modalMenu.cpp
@@ -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;