diff options
author | John Bowler <jbowler@acm.org> | 2011-02-12 09:00:16 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp@shaggy.simplesystems.org> | 2011-02-12 09:00:16 -0600 |
commit | 9b872f4cf9fbdb5a27fb6ddf9c5c1235dcc877e6 (patch) | |
tree | 182b7b2569ecbb9f5e666fb05212058933535aa6 /pngwtran.c | |
parent | 5432c01ffd6260d19403ce9c1a09b99ab488485e (diff) |
[devel] Clean up ALPHA flags and transformations
Diffstat (limited to 'pngwtran.c')
-rw-r--r-- | pngwtran.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pngwtran.c b/pngwtran.c index 115ca3721..ce4c549e3 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -44,8 +44,8 @@ png_do_write_transformations(png_structp png_ptr) #ifdef PNG_WRITE_FILLER_SUPPORTED if (png_ptr->transformations & PNG_FILLER) - png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, - png_ptr->flags); + png_do_strip_channel(&(png_ptr->row_info), png_ptr->row_buf + 1, + !(png_ptr->flags & PNG_FILLER_AFTER)); #endif #ifdef PNG_WRITE_PACKSWAP_SUPPORTED |