diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-04-16 19:27:34 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-04-16 19:27:34 -0500 |
commit | cb1aee250698490a4117797c398f93c5a089f95f (patch) | |
tree | 0082d985f220a8f1b00d7a5b3180b7553f703c0f /pngwtran.c | |
parent | 8d4ce1fed58e96970ba4c30f39ea4a7712abaeaa (diff) | |
download | libpng-cb1aee250698490a4117797c398f93c5a089f95f.tar.gz |
[devel] Fixed bug with stripping the filler or alpha channel when writing,
that was introduced in libpng-1.5.2beta01.
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 bbf4a25b9..2473d1406 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -1,7 +1,7 @@ /* pngwtran.c - transforms the data in a row for PNG writers * - * Last changed in libpng 1.5.2 [March 31, 2011] + * Last changed in libpng 1.5.3 [(PENDING RELEASE)] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -45,7 +45,7 @@ png_do_write_transformations(png_structp png_ptr) #ifdef PNG_WRITE_FILLER_SUPPORTED if (png_ptr->transformations & PNG_FILLER) png_do_strip_channel(&(png_ptr->row_info), png_ptr->row_buf + 1, - !(png_ptr->flags & PNG_FILLER_AFTER)); + !(png_ptr->flags & PNG_FLAG_FILLER_AFTER)); #endif #ifdef PNG_WRITE_PACKSWAP_SUPPORTED |