Mercurial > sdl-ios-xcode
diff src/video/SDL_surface.c @ 2260:202ddfd1cfb1
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Aug 2007 02:55:21 +0000 |
parents | 340942cfda48 |
children | e61ad15a205f |
line wrap: on
line diff
--- a/src/video/SDL_surface.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_surface.c Fri Aug 17 02:55:21 2007 +0000 @@ -286,7 +286,7 @@ if (flag) { surface->flags |= SDL_SRCALPHA; surface->map->cmod &= 0x00FFFFFF; - surface->map->cmod |= ((Uint32)value << 24); + surface->map->cmod |= ((Uint32) value << 24); if (flag & SDL_RLEACCELOK) { surface->flags |= SDL_RLEACCELOK; } else { @@ -611,7 +611,7 @@ if (format->Amask) { surface->flags &= ~SDL_SRCALPHA; } else { - alpha = (Uint8)(surface->map->cmod >> 24); + alpha = (Uint8) (surface->map->cmod >> 24); SDL_SetAlpha(surface, 0, 0); } }