diff options
Diffstat (limited to 'tools')
| -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 03da589..0262473 100644 --- a/tools/bmp2rb.c +++ b/tools/bmp2rb.c @@ -402,7 +402,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, for (col = 0; col < width; col++) { (*dest)[row * dst_w + (col/4)] |= - (~brightness(src[row * width + col]) & 0xC0) >> (2 * (~col & 3)); + (~brightness(src[row * width + col]) & 0xC0) >> (2 * (col & 3)); } break; } |