Fixed style

main
Sam Lantinga 2015-06-14 19:26:20 -07:00
parent 34634082ff
commit d797582376
1 changed files with 2 additions and 5 deletions

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;
}