summaryrefslogtreecommitdiff
path: root/src/codec/IfegDecodeAGIF.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/IfegDecodeAGIF.c')
-rwxr-xr-xsrc/codec/IfegDecodeAGIF.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codec/IfegDecodeAGIF.c b/src/codec/IfegDecodeAGIF.c
index db69692..b6a08f2 100755
--- a/src/codec/IfegDecodeAGIF.c
+++ b/src/codec/IfegDecodeAGIF.c
@@ -111,8 +111,6 @@ AGifFrameInfo *FastImgCreateAGIFFrameData(unsigned int width, unsigned int heigh
if (transparent == 1 && backcolor_index == transIndex) {
image_backcolor = ui_backcolor;
- } else if (transparent == 1 && backcolor_index != transIndex) {
- image_backcolor = backcolor_parsing;
} else {
image_backcolor = backcolor_parsing;
}