summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2014-10-05 13:45:38 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2014-10-05 13:45:38 -0500
commita11cd84160b20c25b8916e8229bec8523bbde31c (patch)
tree416fe00b87a9beafd4a5d1bd5738c3996184f3a3 /example.c
parentf56c00f05081edb723be3e1c5f268c1aac1152a4 (diff)
downloadlibpng-a11cd84160b20c25b8916e8229bec8523bbde31c.tar.gz
[libpng16] Only mark text chunks as written after successfully writing them.
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index ad5fc70ca..9075e5726 100644
--- a/example.c
+++ b/example.c
@@ -932,7 +932,7 @@ void write_png(char *file_name /* , ... other image information ... */)
*/
/* Once we write out the header, the compression type on the text
- * chunks gets changed to PNG_TEXT_COMPRESSION_NONE_WR or
+ * chunk gets changed to PNG_TEXT_COMPRESSION_NONE_WR or
* PNG_TEXT_COMPRESSION_zTXt_WR, so it doesn't get written out again
* at the end.
*/