diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index d8d89d8d0..bf34f4429 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -274,7 +274,7 @@ void SelectionTab::clickLeft(tribool down, bool previousState) } #ifdef VCMI_IOS // focus input field if clicked inside it - else if(inputName && inputName->active && inputNameRect.isIn(GH.current->button.x, GH.current->button.y)) + else if(inputName && inputName->active && inputNameRect.isInside(GH.current->button.x, GH.current->button.y)) inputName->giveFocus(); #endif }