mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 20:01:42 +00:00
Merge branch 'pr/n78_anshul1912'
This commit is contained in:
commit
bb700db08e
@ -364,10 +364,10 @@ static int pre_process_bitmap(png_color **palette, png_byte **alpha, int size,
|
||||
else
|
||||
{
|
||||
/* initialize colors with white */
|
||||
memset(palette,0xff,sizeof(nb_color * sizeof(*lpalette)));
|
||||
memset(palette,0xff,nb_color * sizeof(*lpalette));
|
||||
|
||||
/* initialize transparency as complete transparent */
|
||||
memset(lalpha,0,sizeof(nb_color * sizeof(*lalpha)));
|
||||
memset(lalpha,0,nb_color * sizeof(*lalpha));
|
||||
}
|
||||
|
||||
if(bitmap)
|
||||
|
Loading…
Reference in New Issue
Block a user