From 4e230b087ec31119233a4e1437ec6b257d3a30ae Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 8 Jan 2011 14:49:25 -0600 Subject: [PATCH] [devel] Proper fix for the failure to handle palette mapped images correctly. --- pngrtran.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngrtran.c b/pngrtran.c index 7c1f8a18d..58df76900 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -3778,7 +3778,7 @@ png_do_expand_palette(png_row_infop row_info, png_bytep row, row_info->rowbytes = row_width; } - else if (row_info->bit_depth == 8) + if (row_info->bit_depth == 8) { { if (trans_alpha != NULL)