Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 8, 2013
1 parent 7f271ba commit e0f5dfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/SDL_surface.c
Expand Up @@ -286,7 +286,6 @@ SDL_ConvertColorkeyToAlpha(SDL_Surface * surface)
spot = row;
for (x = surface->w; x--;) {
if ((*spot & mask) == ckey) {
if (*spot == ckey) {
*spot &= mask;
}
++spot;
Expand Down

0 comments on commit e0f5dfd

Please sign in to comment.