Fixed style

This commit is contained in:
Sam Lantinga 2015-06-14 19:26:20 -07:00
parent 34634082ff
commit d797582376

View file

@ -518,12 +518,9 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
if (item->joystick) {
if (Android_JNI_GetAccelerometerValues(values)) {
for ( i = 0; i < 3; i++ ) {
if (values[i] > 1.0f)
{
if (values[i] > 1.0f) {
values[i] = 1.0f;
}
else if (values[i] < -1.0f)
{
} else if (values[i] < -1.0f) {
values[i] = -1.0f;
}