stupid indent
authorSam Lantinga <slouken@libsdl.org>
Tue, 03 Jul 2007 09:55:29 +0000
changeset 2141e1a70460c354
parent 2140 15b4a74cdac1
child 2142 ca80c942e69c
stupid indent
src/audio/SDL_audio.c
src/audio/arts/SDL_artsaudio.c
src/video/SDL_blit_A.c
src/video/win32/SDL_win32events.c
     1.1 --- a/src/audio/SDL_audio.c	Tue Jul 03 09:54:27 2007 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Tue Jul 03 09:55:29 2007 +0000
     1.3 @@ -555,7 +555,7 @@
     1.4      switch (orig->channels) {
     1.5      case 0:{
     1.6              const char *env = SDL_getenv("SDL_AUDIO_CHANNELS");
     1.7 -            if ((!env) || ((prepared->channels = (Uint8)SDL_atoi(env)) == 0)) {
     1.8 +            if ((!env) || ((prepared->channels = (Uint8) SDL_atoi(env)) == 0)) {
     1.9                  prepared->channels = 2; /* a reasonable default */
    1.10              }
    1.11              break;
     2.1 --- a/src/audio/arts/SDL_artsaudio.c	Tue Jul 03 09:54:27 2007 +0000
     2.2 +++ b/src/audio/arts/SDL_artsaudio.c	Tue Jul 03 09:55:29 2007 +0000
     2.3 @@ -57,7 +57,7 @@
     2.4  static int (*SDL_NAME(arts_write)) (arts_stream_t s, const void *buffer,
     2.5                                      int count);
     2.6  static void (*SDL_NAME(arts_close_stream)) (arts_stream_t s);
     2.7 -static int (*SDL_NAME(arts_suspended))(void);
     2.8 +static int (*SDL_NAME(arts_suspended)) (void);
     2.9  static const char *(*SDL_NAME(arts_error_text)) (int errorcode);
    2.10  
    2.11  #define SDL_ARTS_SYM(x) { #x, (void **) (char *) &SDL_NAME(x) }
    2.12 @@ -66,16 +66,19 @@
    2.13      const char *name;
    2.14      void **func;
    2.15  } arts_functions[] = {
    2.16 -SDL_ARTS_SYM(arts_init),
    2.17 -        SDL_ARTS_SYM(arts_free),
    2.18 -        SDL_ARTS_SYM(arts_play_stream),
    2.19 -        SDL_ARTS_SYM(arts_stream_set),
    2.20 -        SDL_ARTS_SYM(arts_stream_get),
    2.21 -        SDL_ARTS_SYM(arts_write),
    2.22 -        SDL_ARTS_SYM(arts_close_stream),
    2.23 -        SDL_ARTS_SYM(arts_suspended),
    2.24 -        SDL_ARTS_SYM(arts_error_text),
    2.25 +/* *INDENT-OFF* */
    2.26 +    SDL_ARTS_SYM(arts_init),
    2.27 +    SDL_ARTS_SYM(arts_free),
    2.28 +    SDL_ARTS_SYM(arts_play_stream),
    2.29 +    SDL_ARTS_SYM(arts_stream_set),
    2.30 +    SDL_ARTS_SYM(arts_stream_get),
    2.31 +    SDL_ARTS_SYM(arts_write),
    2.32 +    SDL_ARTS_SYM(arts_close_stream),
    2.33 +    SDL_ARTS_SYM(arts_suspended),
    2.34 +    SDL_ARTS_SYM(arts_error_text),
    2.35 +/* *INDENT-ON* */
    2.36  };
    2.37 +
    2.38  #undef SDL_ARTS_SYM
    2.39  
    2.40  static void
    2.41 @@ -263,7 +266,7 @@
    2.42          return 0;
    2.43      }
    2.44  
    2.45 -    if ( ! SDL_NAME(arts_suspended)() ) {
    2.46 +    if (!SDL_NAME(arts_suspended) ()) {
    2.47          ARTS_CloseDevice(this);
    2.48          SDL_SetError("ARTS can not open audio device");
    2.49          return 0;
    2.50 @@ -339,7 +342,7 @@
    2.51          }
    2.52  
    2.53          /* Play a stream so aRts doesn't crash */
    2.54 -        if ( SDL_NAME(arts_suspended)() ) {
    2.55 +        if (SDL_NAME(arts_suspended) ()) {
    2.56              arts_stream_t stream;
    2.57              stream = SDL_NAME(arts_play_stream) (44100, 16, 2, "SDL");
    2.58              SDL_NAME(arts_write) (stream, "", 0);
     3.1 --- a/src/video/SDL_blit_A.c	Tue Jul 03 09:54:27 2007 +0000
     3.2 +++ b/src/video/SDL_blit_A.c	Tue Jul 03 09:55:29 2007 +0000
     3.3 @@ -35,12 +35,12 @@
     3.4  #    define MMX_ASMBLIT 1
     3.5  #    define GCC_ASMBLIT 1
     3.6  #  elif defined(_MSC_VER) && defined(_M_IX86)
     3.7 -#    if (_MSC_VER <= 1200)  
     3.8 -#      include <malloc.h>   
     3.9 +#    if (_MSC_VER <= 1200)
    3.10 +#      include <malloc.h>
    3.11  #      if defined(_mm_free)
    3.12  #          define HAVE_MMINTRIN_H 1
    3.13  #      endif
    3.14 -#    else  /* Visual Studio > VC6 always has mmintrin.h */
    3.15 +#    else /* Visual Studio > VC6 always has mmintrin.h */
    3.16  #      define HAVE_MMINTRIN_H 1
    3.17  #    endif
    3.18  #    if HAVE_MMINTRIN_H
     4.1 --- a/src/video/win32/SDL_win32events.c	Tue Jul 03 09:54:27 2007 +0000
     4.2 +++ b/src/video/win32/SDL_win32events.c	Tue Jul 03 09:55:29 2007 +0000
     4.3 @@ -634,7 +634,7 @@
     4.4               *   DefWindowProc to process it.
     4.5               */
     4.6              if (xbuttonval > 0) {
     4.7 -                return(TRUE);
     4.8 +                return (TRUE);
     4.9              }
    4.10          }
    4.11          return (0);