changeset 695:8f579a0e17e6

Whitespace
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2003 04:53:40 +0000
parents f0c696e476da
children 8042c28039ad
files src/video/SDL_pixels.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_pixels.c	Sat Aug 23 23:46:12 2003 +0000
+++ b/src/video/SDL_pixels.c	Wed Aug 27 04:53:40 2003 +0000
@@ -389,8 +389,9 @@
 		if(fmt->Amask) {
 		        v = (pixel & fmt->Amask) >> fmt->Ashift;
 			*a = (v << fmt->Aloss) + (v >> (8 - (fmt->Aloss << 1)));
-		} else
+		} else {
 		        *a = SDL_ALPHA_OPAQUE;
+                }
 	} else {
 		*r = fmt->palette->colors[pixel].r;
 		*g = fmt->palette->colors[pixel].g;