forked from AuroraMiddleware/gtk
Fix a compiler warning
svn path=/trunk/; revision=17061
This commit is contained in:
parent
1d5fdd6209
commit
b298dfbe8f
@ -1,3 +1,7 @@
|
||||
2007-01-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* io-bmp.c (OneLine32): Fix a warning
|
||||
|
||||
2006-12-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* io-bmp.c (decode_bitmasks): Handle bmps
|
||||
|
@ -753,7 +753,7 @@ static void OneLine32(struct bmp_progressive_state *context)
|
||||
*pixels++ = (g << g_lshift) | (g >> g_rshift);
|
||||
*pixels++ = (b << b_lshift) | (b >> b_rshift);
|
||||
if (context->a_bits)
|
||||
*pixels++ = 0xff - (a << a_lshift) | (a >> a_rshift);
|
||||
*pixels++ = 0xff - ((a << a_lshift) | (a >> a_rshift));
|
||||
else
|
||||
*pixels++ = 0xff;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user