# HG changeset patch # User Sam Lantinga # Date 1187319321 0 # Node ID 202ddfd1cfb12cd80041430b86990f1b125f4c16 # Parent 1e690901ecd7f43d5c089aca7a61cb3686b65975 indent diff -r 1e690901ecd7 -r 202ddfd1cfb1 src/video/SDL_blit.c --- a/src/video/SDL_blit.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit.c Fri Aug 17 02:55:21 2007 +0000 @@ -82,7 +82,7 @@ info.dst = dst->format; info.ckey = src->map->ckey; info.cmod = src->map->cmod; - RunBlit = (SDL_loblit)src->map->data; + RunBlit = (SDL_loblit) src->map->data; /* Run the actual software blit */ RunBlit(&info); diff -r 1e690901ecd7 -r 202ddfd1cfb1 src/video/SDL_blit.h --- a/src/video/SDL_blit.h Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit.h Fri Aug 17 02:55:21 2007 +0000 @@ -62,8 +62,8 @@ Uint8 *table; SDL_blit blit; void *data; - Uint32 ckey; /* colorkey */ - Uint32 cmod; /* ARGB modulation */ + Uint32 ckey; /* colorkey */ + Uint32 cmod; /* ARGB modulation */ /* the version count matches the destination; mismatch indicates an invalid mapping */ diff -r 1e690901ecd7 -r 202ddfd1cfb1 src/video/SDL_blit_A.c --- a/src/video/SDL_blit_A.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit_A.c Fri Aug 17 02:55:21 2007 +0000 @@ -371,7 +371,7 @@ __m64 src1, dst1, mm_alpha, mm_zero, dmask; mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ - multmask = 0xFFFF; + multmask = 0xFFFF; multmask <<= (ashift * 2); multmask = ~multmask; dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ @@ -1389,7 +1389,7 @@ __m64 src1, dst1, mm_alpha, mm_zero, dmask; mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ - multmask = 0xFFFF; + multmask = 0xFFFF; multmask <<= (ashift * 2); multmask = ~multmask; dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ @@ -1874,7 +1874,7 @@ static void Blit555to555SurfaceAlpha(SDL_BlitInfo * info) { - unsigned alpha = (info->cmod >> 24); /* downscale alpha to 5 bits */ + unsigned alpha = (info->cmod >> 24); /* downscale alpha to 5 bits */ if (alpha == 128) { Blit16to16SurfaceAlpha128(info, 0xfbde); } else { diff -r 1e690901ecd7 -r 202ddfd1cfb1 src/video/SDL_pixels.c --- a/src/video/SDL_pixels.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_pixels.c Fri Aug 17 02:55:21 2007 +0000 @@ -673,7 +673,7 @@ Uint8 *map; int i; int bpp; - unsigned Amod, Rmod, Gmod, Bmod; + unsigned Amod, Rmod, Gmod, Bmod; SDL_Palette *pal = src->palette; bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel); diff -r 1e690901ecd7 -r 202ddfd1cfb1 src/video/SDL_surface.c --- 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); } }