[Change] Minor cosmetic change.
This commit is contained in:
parent
a4861de89f
commit
dd2249344b
@ -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.);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user