From dd2249344becd9e79cd73a9eeb09fa374b188120 Mon Sep 17 00:00:00 2001 From: Allanis <allanis@saracraft.net> Date: Fri, 30 May 2014 20:13:41 +0100 Subject: [PATCH] [Change] Minor cosmetic change. --- src/input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/input.c b/src/input.c index 5e1abe5..9439b07 100644 --- a/src/input.c +++ b/src/input.c @@ -628,9 +628,9 @@ static void input_joyaxis(const SDLKey axis, const int value) { */ static void input_joyevent(const int event, const SDLKey button) { int i; - for(i = 0; strcmp(keybindNames[i], "end");i++) - if(input_keybinds[i]->type == KEYBIND_JBUTTON && - input_keybinds[i]->key == button) + for(i = 0; strcmp(keybindNames[i], "end"); i++) + if((input_keybinds[i]->type == KEYBIND_JBUTTON) && + (input_keybinds[i]->key == button)) input_key(i, event, 0.); }