diff --git a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c b/src/share/native/sun/awt/splashscreen/splashscreen_gif.c index bac88dc1166b66536f82f1d10005f2867b0f29f8..a26dd2416be7ad4463e8c41dc25f87f4eb0dfe93 100644 --- a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c +++ b/src/share/native/sun/awt/splashscreen/splashscreen_gif.c @@ -277,7 +277,7 @@ SplashDecodeGif(Splash * splash, GifFileType * gif) ImageRect dstRect; rgbquad_t fillColor = 0; // 0 is transparent - if (transparentColor > 0) { + if (transparentColor < 0) { fillColor= MAKE_QUAD_GIF( colorMap->Colors[gif->SBackGroundColor], 0xff); }