[Change] Minor cosmetic change.

This commit is contained in:
Allanis 2014-05-30 20:13:41 +01:00
parent a4861de89f
commit dd2249344b

View File

@ -628,9 +628,9 @@ static void input_joyaxis(const SDLKey axis, const int value) {
*/ */
static void input_joyevent(const int event, const SDLKey button) { static void input_joyevent(const int event, const SDLKey button) {
int i; int i;
for(i = 0; strcmp(keybindNames[i], "end");i++) for(i = 0; strcmp(keybindNames[i], "end"); i++)
if(input_keybinds[i]->type == KEYBIND_JBUTTON && if((input_keybinds[i]->type == KEYBIND_JBUTTON) &&
input_keybinds[i]->key == button) (input_keybinds[i]->key == button))
input_key(i, event, 0.); input_key(i, event, 0.);
} }