Corrected confusing indentation in C source file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 29 Apr 2013 23:50:27 +0200
changeset 7129 538dd99173de
parent 7128 e10c5a9cc858
child 7130 28df4f1a1712
Corrected confusing indentation in C source file.
src/joystick/SDL_gamecontroller.c
--- a/src/joystick/SDL_gamecontroller.c	Mon Apr 29 23:45:40 2013 +0200
+++ b/src/joystick/SDL_gamecontroller.c	Mon Apr 29 23:50:27 2013 +0200
@@ -302,8 +302,8 @@
 		}
 		pSupportedController = pSupportedController->next;
 	}
-        return NULL;
-    }
+    return NULL;
+}
 
 /*
  * Helper function to determine pre-caclulated offset to certain joystick mappings
@@ -349,7 +349,7 @@
         if ( !SDL_strcasecmp( pchString, map_StringForControllerAxis[entry] ) )
             return entry;
     }
-		return SDL_CONTROLLER_AXIS_INVALID;
+    return SDL_CONTROLLER_AXIS_INVALID;
 }
 
 /*
@@ -494,7 +494,6 @@
 			SDL_assert( !"How did we get here?" );
 		}
 	}
-
 }
 
 
@@ -1141,7 +1140,7 @@
 		gamecontrollerlistprev = gamecontrollerlist;
 		gamecontrollerlist = gamecontrollerlist->next;
 	}
- 
+
     SDL_free(gamecontroller);
 }