indent
authorSam Lantinga <slouken@libsdl.org>
Wed, 11 Jul 2007 14:51:49 +0000
changeset 217326233707bc94
parent 2172 bef26cfc8f79
child 2174 8f37b91f2e3e
indent
src/file/SDL_rwops.c
src/video/SDL_yuv_mmx.c
     1.1 --- a/src/file/SDL_rwops.c	Wed Jul 11 14:50:21 2007 +0000
     1.2 +++ b/src/file/SDL_rwops.c	Wed Jul 11 14:51:49 2007 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4      if (!context)
     1.5          return -1;              /* failed (invalid call) */
     1.6  
     1.7 -    context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */
     1.8 +    context->hidden.win32io.h = INVALID_HANDLE_VALUE;   /* mark this as unusable */
     1.9      context->hidden.win32io.buffer.data = NULL;
    1.10      context->hidden.win32io.buffer.size = 0;
    1.11      context->hidden.win32io.buffer.left = 0;
    1.12 @@ -82,12 +82,12 @@
    1.13      if (!r_right && !w_right)   /* inconsistent mode */
    1.14          return -1;              /* failed (invalid call) */
    1.15  
    1.16 -    context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE);
    1.17 +    context->hidden.win32io.buffer.data =
    1.18 +        (char *) SDL_malloc(READAHEAD_BUFFER_SIZE);
    1.19      if (!context->hidden.win32io.buffer.data) {
    1.20          SDL_OutOfMemory();
    1.21          return -1;
    1.22      }
    1.23 -
    1.24  #ifdef _WIN32_WCE
    1.25      {
    1.26          size_t size = SDL_strlen(filename) + 1;
     2.1 --- a/src/video/SDL_yuv_mmx.c	Wed Jul 11 14:50:21 2007 +0000
     2.2 +++ b/src/video/SDL_yuv_mmx.c	Wed Jul 11 14:51:49 2007 +0000
     2.3 @@ -435,4 +435,3 @@
     2.4  #endif /* GCC3 i386 inline assembly */
     2.5  
     2.6  /* vi: set ts=4 sw=4 expandtab: */
     2.7 -