src/video/SDL_surface.c
changeset 2260 202ddfd1cfb1
parent 2257 340942cfda48
child 2266 e61ad15a205f
     1.1 --- a/src/video/SDL_surface.c	Fri Aug 17 02:54:50 2007 +0000
     1.2 +++ b/src/video/SDL_surface.c	Fri Aug 17 02:55:21 2007 +0000
     1.3 @@ -286,7 +286,7 @@
     1.4      if (flag) {
     1.5          surface->flags |= SDL_SRCALPHA;
     1.6          surface->map->cmod &= 0x00FFFFFF;
     1.7 -        surface->map->cmod |= ((Uint32)value << 24);
     1.8 +        surface->map->cmod |= ((Uint32) value << 24);
     1.9          if (flag & SDL_RLEACCELOK) {
    1.10              surface->flags |= SDL_RLEACCELOK;
    1.11          } else {
    1.12 @@ -611,7 +611,7 @@
    1.13          if (format->Amask) {
    1.14              surface->flags &= ~SDL_SRCALPHA;
    1.15          } else {
    1.16 -            alpha = (Uint8)(surface->map->cmod >> 24);
    1.17 +            alpha = (Uint8) (surface->map->cmod >> 24);
    1.18              SDL_SetAlpha(surface, 0, 0);
    1.19          }
    1.20      }