Browse Source

Fix ios compile

Ivan Savenko 2 years ago
parent
commit
a19c9eccc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/lobby/SelectionTab.cpp

+ 1 - 1
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
 	}