diff options
author | ROllerozxa <temporaryemail4meh+github@gmail.com> | 2022-06-13 19:13:15 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-06-14 19:22:22 +0200 |
commit | 992f501159b2fc6c5878d86cc477413250b4efa2 (patch) | |
tree | c130c0f5805dee8511837e2a4fdcf20921417e84 /src | |
parent | 0f3f1a001c0dcaa91169bbc90900a47120bb2763 (diff) | |
download | minetest-992f501159b2fc6c5878d86cc477413250b4efa2.tar.gz minetest-992f501159b2fc6c5878d86cc477413250b4efa2.tar.bz2 minetest-992f501159b2fc6c5878d86cc477413250b4efa2.zip |
Fix Android input box crash
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/modalMenu.cpp | 5 |
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; |