src/video/SDL_RLEaccel.c
changeset 2267 c785543d1843
parent 2266 e61ad15a205f
child 2328 91e601d9df8b
     1.1 --- a/src/video/SDL_RLEaccel.c	Sat Aug 18 01:44:21 2007 +0000
     1.2 +++ b/src/video/SDL_RLEaccel.c	Sat Aug 18 05:39:09 2007 +0000
     1.3 @@ -1821,13 +1821,13 @@
     1.4  
     1.5      /* If we don't have colorkey or blending, nothing to do... */
     1.6      flags = surface->map->info.flags;
     1.7 -    if(!(flags & (SDL_COPY_COLORKEY|SDL_COPY_BLEND))) {
     1.8 +    if (!(flags & (SDL_COPY_COLORKEY | SDL_COPY_BLEND))) {
     1.9          return -1;
    1.10      }
    1.11  
    1.12      /* Pass on combinations not supported */
    1.13      if ((flags & SDL_COPY_MODULATE_COLOR) ||
    1.14 -        (flags & (SDL_COPY_ADD|SDL_COPY_MOD)) ||
    1.15 +        (flags & (SDL_COPY_ADD | SDL_COPY_MOD)) ||
    1.16          (flags & SDL_COPY_NEAREST)) {
    1.17          return -1;
    1.18      }
    1.19 @@ -1971,7 +1971,8 @@
    1.20                  }
    1.21              }
    1.22          }
    1.23 -        surface->map->info.flags &= (SDL_COPY_RLE_COLORKEY|SDL_COPY_RLE_ALPHAKEY);
    1.24 +        surface->map->info.flags &=
    1.25 +            (SDL_COPY_RLE_COLORKEY | SDL_COPY_RLE_ALPHAKEY);
    1.26  
    1.27          if (surface->map->data) {
    1.28              SDL_free(surface->map->data);