diff src/video/SDL_blit_0.c @ 1058:e6c91fd1911e

Eh, more correct.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 May 2005 05:55:17 +0000
parents e9d23bb80140
children c9b51268668f
line wrap: on
line diff
--- a/src/video/SDL_blit_0.c	Mon May 16 05:34:58 2005 +0000
+++ b/src/video/SDL_blit_0.c	Mon May 16 05:55:17 2005 +0000
@@ -452,7 +452,7 @@
 {
 	int which;
 
-	if ( surface->format->BitsPerPixel > 1 ) {
+	if ( surface->format->BitsPerPixel != 1 ) {
 		/* We don't support sub 8-bit packed pixel modes */
 		return NULL;
 	}