commit | 4e230b087ec31119233a4e1437ec6b257d3a30ae | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sat Jan 08 14:49:25 2011 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Jan 08 14:49:25 2011 -0600 |
tree | 1e05753f540969fcd6f2d1f4fbea5b4f2eb2daea | |
parent | a96117f52c1b80ea98cd652c9174e1f2cb42dfcd [diff] [blame] |
[devel] Proper fix for the failure to handle palette mapped images correctly.
diff --git a/pngrtran.c b/pngrtran.c index 7c1f8a1..58df769 100644 --- a/pngrtran.c +++ b/pngrtran.c
@@ -3778,7 +3778,7 @@ row_info->rowbytes = row_width; } - else if (row_info->bit_depth == 8) + if (row_info->bit_depth == 8) { { if (trans_alpha != NULL)