# HG changeset patch # User bae # Date 1286353194 -14400 # Node ID 83cac1fcd3edc91ab88e044c9a3adc7b2e082366 # Parent a0fd2f4b2197f115ca9d6b5d6da8d6207ea10adc 6853488: REGRESSION : A black background is seen for a transparent animated gif image for splash screen Reviewed-by: igor, prr diff -r a0fd2f4b2197 -r 83cac1fcd3ed jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c --- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Tue Oct 05 10:23:14 2010 +0400 +++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Wed Oct 06 12:19:54 2010 +0400 @@ -277,7 +277,7 @@ ImageRect dstRect; rgbquad_t fillColor = 0; // 0 is transparent - if (transparentColor > 0) { + if (transparentColor < 0) { fillColor= MAKE_QUAD_GIF( colorMap->Colors[gif->SBackGroundColor], 0xff); }