Commit d797582376c933ff1e95615805300b0870a66af0

Sam Lantinga 2015-06-14T19:26:20

Fixed style

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/joystick/android/SDL_sysjoystick.c b/src/joystick/android/SDL_sysjoystick.c
index b564f18..1872c94 100644
--- a/src/joystick/android/SDL_sysjoystick.c
+++ b/src/joystick/android/SDL_sysjoystick.c
@@ -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;
                         }