[devel] Proper fix for the failure to handle palette mapped images correctly.

This commit is contained in:
John Bowler 2011-01-08 14:49:25 -06:00 committed by Glenn Randers-Pehrson
parent a96117f52c
commit 4e230b087e

View File

@ -3778,7 +3778,7 @@ png_do_expand_palette(png_row_infop row_info, png_bytep row,
row_info->rowbytes = row_width; row_info->rowbytes = row_width;
} }
else if (row_info->bit_depth == 8) if (row_info->bit_depth == 8)
{ {
{ {
if (trans_alpha != NULL) if (trans_alpha != NULL)