src/SDL.c
changeset 7191 75360622e65f
parent 7139 dd722e7460c5
child 7281 cd5516b9263d
     1.1 --- a/src/SDL.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/SDL.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -138,7 +138,7 @@
     1.4      }
     1.5  
     1.6      if ((flags & SDL_INIT_GAMECONTROLLER)) {
     1.7 -        // Game controller implies Joystick.
     1.8 +        /* Game controller implies Joystick. */
     1.9          flags |= SDL_INIT_JOYSTICK;
    1.10      }
    1.11  
    1.12 @@ -221,19 +221,19 @@
    1.13      /* Shut down requested initialized subsystems */
    1.14  #if !SDL_JOYSTICK_DISABLED
    1.15      if ((flags & SDL_INIT_GAMECONTROLLER)) {
    1.16 -        // Game controller implies Joystick.
    1.17 +        /* Game controller implies Joystick. */
    1.18          flags |= SDL_INIT_JOYSTICK;
    1.19  
    1.20          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_GAMECONTROLLER)) {
    1.21              SDL_GameControllerQuit();
    1.22 -		}
    1.23 +        }
    1.24          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_GAMECONTROLLER);
    1.25      }
    1.26  
    1.27      if ((flags & SDL_INIT_JOYSTICK)) {
    1.28          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_JOYSTICK)) {
    1.29 -			SDL_JoystickQuit();
    1.30 -		}
    1.31 +            SDL_JoystickQuit();
    1.32 +        }
    1.33          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_JOYSTICK);
    1.34      }
    1.35  #endif
    1.36 @@ -241,8 +241,8 @@
    1.37  #if !SDL_HAPTIC_DISABLED
    1.38      if ((flags & SDL_INIT_HAPTIC)) {
    1.39          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_HAPTIC)) {
    1.40 -			SDL_HapticQuit();
    1.41 -		}
    1.42 +            SDL_HapticQuit();
    1.43 +        }
    1.44          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_HAPTIC);
    1.45      }
    1.46  #endif
    1.47 @@ -250,8 +250,8 @@
    1.48  #if !SDL_AUDIO_DISABLED
    1.49      if ((flags & SDL_INIT_AUDIO)) {
    1.50          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_AUDIO)) {
    1.51 -			SDL_AudioQuit();
    1.52 -		}
    1.53 +            SDL_AudioQuit();
    1.54 +        }
    1.55          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_AUDIO);
    1.56      }
    1.57  #endif
    1.58 @@ -259,8 +259,8 @@
    1.59  #if !SDL_VIDEO_DISABLED
    1.60      if ((flags & SDL_INIT_VIDEO)) {
    1.61          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_VIDEO)) {
    1.62 -			SDL_VideoQuit();
    1.63 -		}
    1.64 +            SDL_VideoQuit();
    1.65 +        }
    1.66          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_VIDEO);
    1.67      }
    1.68  #endif
    1.69 @@ -268,8 +268,8 @@
    1.70  #if !SDL_TIMERS_DISABLED
    1.71      if ((flags & SDL_INIT_TIMER)) {
    1.72          if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_TIMER)) {
    1.73 -			SDL_TimerQuit();
    1.74 -		}
    1.75 +            SDL_TimerQuit();
    1.76 +        }
    1.77          SDL_PrivateSubsystemRefCountDecr(SDL_INIT_TIMER);
    1.78      }
    1.79  #endif