Cleanup menu_input_bind_iterate

This commit is contained in:
twinaphex 2015-01-23 09:14:07 +01:00
parent 576ad9dab2
commit aa6452b8ca
1 changed files with 4 additions and 3 deletions

View File

@ -360,10 +360,11 @@ int menu_input_bind_iterate(void *data)
driver.flushing_input = true; driver.flushing_input = true;
binds.begin++; binds.begin++;
if (binds.begin <= binds.last)
binds.target++; if (binds.begin > binds.last)
else
return 1; return 1;
binds.target++;
} }
menu->binds = binds; menu->binds = binds;