src/video/SDL_video.c
branchSDL-1.2
changeset 6209 beb988469d26
parent 6137 4720145f848b
--- a/src/video/SDL_video.c	Tue Jan 10 21:12:45 2012 +0100
+++ b/src/video/SDL_video.c	Tue Jan 10 22:52:17 2012 -0500
@@ -987,7 +987,7 @@
 		if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) {
 			rmask = 0xff;
 			bmask = 0xff0000;
-		} else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) {
+		} else if ( vf->Rmask == 0xFF00 && (vf->Bmask == 0xFF000000) ) {
 			amask = 0x000000FF;
 			rmask = 0x0000FF00;
 			gmask = 0x00FF0000;