forked from old/legacy-imlib2
GIF loader: Indent.
And remove now unused label "finish".
This commit is contained in:
parent
1efd421614
commit
a8ca99a2a4
|
@ -157,7 +157,8 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
|
|||
}
|
||||
/* if bg > cmap->ColorCount, it is transparent black already */
|
||||
if (transp >= 0 && transp < 256)
|
||||
colormap[transp] = bg >= 0 && bg < 256 ? colormap[bg] & 0x00ffffff : 0x00000000;
|
||||
colormap[transp] = bg >= 0 && bg < 256 ?
|
||||
colormap[bg] & 0x00ffffff : 0x00000000;
|
||||
}
|
||||
im->data = (DATA32 *) malloc(sizeof(DATA32) * w * h);
|
||||
if (!im->data)
|
||||
|
@ -185,7 +186,6 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
|
|||
}
|
||||
}
|
||||
|
||||
finish:
|
||||
if (progress)
|
||||
progress(im, 100, 0, last_y, w, h);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue