aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiFormSpecMenu.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-11 17:45:58 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2018-03-11 17:45:58 +0100
commita1c5a011421840f4b2f9d8b6cc9b9724cf333168 (patch)
treec81ff990286c4da2bcda4c273baaa21d3a0052e0 /src/gui/guiFormSpecMenu.cpp
parent22a891a925d68a096420d3383a2e31b58e3eb244 (diff)
downloadminetest-a1c5a011421840f4b2f9d8b6cc9b9724cf333168.tar.gz
minetest-a1c5a011421840f4b2f9d8b6cc9b9724cf333168.tar.bz2
minetest-a1c5a011421840f4b2f9d8b6cc9b9724cf333168.zip
Fix Android build, but there is a remaining linking issue in guiConfirmRegistration
* Also fix variable name overloading in guiConfirmRegistration
Diffstat (limited to 'src/gui/guiFormSpecMenu.cpp')
-rw-r--r--src/gui/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index dfb167ce7..eb80f6ed7 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -1039,7 +1039,7 @@ void GUIFormSpecMenu::createTextField(parserData *data, FieldSpec &spec,
}
if (e) {
- if (is_editable && spec.fname == data->focused_fieldname)
+ if (is_editable && spec.fname == data->focused_fieldname)
Environment->setFocus(e);
if (is_multiline) {