Fixed code style
This commit is contained in:
parent
aeea6b9b1f
commit
6b3f11e2a3
1 changed files with 2 additions and 3 deletions
|
@ -582,13 +582,12 @@ SDL_JoystickFromInstanceID(SDL_JoystickID joyid)
|
|||
SDL_LockJoysticks();
|
||||
for (joystick = SDL_joysticks; joystick; joystick = joystick->next) {
|
||||
if (joystick->instance_id == joyid) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
SDL_UnlockJoysticks();
|
||||
return joystick;
|
||||
}
|
||||
}
|
||||
SDL_UnlockJoysticks();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the friendly name of this joystick
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue