Fixed compile error
authorSam Lantinga <slouken@libsdl.org>
Thu, 08 Aug 2013 02:34:21 -0700
changeset 7602 9829fb1aeac7
parent 7601 fdf89883bbaa
child 7603 96b76c2ce46a
Fixed compile error
src/video/SDL_surface.c
--- a/src/video/SDL_surface.c	Thu Aug 08 02:30:32 2013 -0700
+++ b/src/video/SDL_surface.c	Thu Aug 08 02:34:21 2013 -0700
@@ -286,7 +286,6 @@
                 spot = row;
                 for (x = surface->w; x--;) {
                     if ((*spot & mask) == ckey) {
-                    if (*spot == ckey) {
                         *spot &= mask;
                     }
                     ++spot;