commit | a11cd84160b20c25b8916e8229bec8523bbde31c | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Oct 05 13:45:38 2014 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Oct 05 13:45:38 2014 -0500 |
tree | 416fe00b87a9beafd4a5d1bd5738c3996184f3a3 | |
parent | f56c00f05081edb723be3e1c5f268c1aac1152a4 [diff] [blame] |
[libpng16] Only mark text chunks as written after successfully writing them.
diff --git a/example.c b/example.c index ad5fc70..9075e57 100644 --- a/example.c +++ b/example.c
@@ -932,7 +932,7 @@ */ /* 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. */