Mercurial > pygame
diff src/pixelarray_methods.c @ 996:123fae0cfc2d
Unbreak build for big endian platforms.
| author | marcus |
|---|---|
| date | Tue, 08 Apr 2008 08:47:39 +0000 |
| parents | 78ab04b73064 |
| children | 46a786465642 |
line wrap: on
line diff
--- a/src/pixelarray_methods.c Tue Apr 08 07:44:52 2008 +0000 +++ b/src/pixelarray_methods.c Tue Apr 08 08:47:39 2008 +0000 @@ -681,7 +681,7 @@ *(px + 2 - (format->Bshift >> 3)) = (Uint8) black; } } - else if (pxcolor == dcolor) + else if (pxcolor == color) { *(px + 2 - (format->Rshift >> 3)) = (Uint8) (white >> 16); *(px + 2 - (format->Gshift >> 3)) = (Uint8) (white >> 8);
