Fixed dialog to configure on-screen buttons

This commit is contained in:
pelya
2012-12-11 19:56:07 +02:00
parent dd34270766
commit 47f86119d3
3 changed files with 6 additions and 6 deletions

View File

@@ -2254,7 +2254,7 @@ class Settings
public void onTouchEvent(final MotionEvent ev)
{
if(Globals.ScreenKbControlsLayout.length >= currentButton)
if(currentButton >= Globals.ScreenKbControlsLayout.length)
{
setupButton(false);
return;