diff options
Diffstat (limited to 'tools/bmp2rb.c')
-rw-r--r-- | tools/bmp2rb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bmp2rb.c b/tools/bmp2rb.c index 03da5895b8..0262473fc1 100644 --- a/tools/bmp2rb.c +++ b/tools/bmp2rb.c | |||
@@ -402,7 +402,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, | |||
402 | for (col = 0; col < width; col++) | 402 | for (col = 0; col < width; col++) |
403 | { | 403 | { |
404 | (*dest)[row * dst_w + (col/4)] |= | 404 | (*dest)[row * dst_w + (col/4)] |= |
405 | (~brightness(src[row * width + col]) & 0xC0) >> (2 * (~col & 3)); | 405 | (~brightness(src[row * width + col]) & 0xC0) >> (2 * (col & 3)); |
406 | } | 406 | } |
407 | break; | 407 | break; |
408 | } | 408 | } |