summaryrefslogtreecommitdiff
path: root/pngwrite.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-03-04 09:45:57 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-03-04 11:19:32 -0600
commit3e0bef6da4b81a5282036955ca00c9f16e0894c7 (patch)
treefb80f73b35bea1beef814ba014a8511776d15090 /pngwrite.c
parent82511341d75aea81d0a710c7f6b6dc41eca2605f (diff)
downloadlibpng-3e0bef6da4b81a5282036955ca00c9f16e0894c7.tar.gz
[libpng16] Imported from libpng-1.6.17rc01.tarv1.6.17rc01
Diffstat (limited to 'pngwrite.c')
-rw-r--r--pngwrite.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pngwrite.c b/pngwrite.c
index 6fe0a8d33..181b0f854 100644
--- a/pngwrite.c
+++ b/pngwrite.c
@@ -1051,8 +1051,8 @@ png_set_filter(png_structrp png_ptr, int method, int filters)
* it is too late to start using the filters that need it, since we
* will be missing the data in the previous row. If an application
* wants to start and stop using particular filters during compression,
- * it should start out with all of the filters, and then add and
- * remove them after the start of compression.
+ * it should start out with all of the filters, and then remove them
+ * or add them back after the start of compression.
*/
if (png_ptr->row_buf != NULL)
{
@@ -1419,8 +1419,8 @@ png_set_compression_window_bits(png_structrp png_ptr, int window_bits)
if (png_ptr == NULL)
return;
- /* Prior to 1.6.0 this would warn but then set the window_bits value, this
- * meant that negative window bits values could be selected which would cause
+ /* Prior to 1.6.0 this would warn but then set the window_bits value. This
+ * meant that negative window bits values could be selected that would cause
* libpng to write a non-standard PNG file with raw deflate or gzip
* compressed IDAT or ancillary chunks. Such files can be read and there is
* no warning on read, so this seems like a very bad idea.