diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-10-05 13:45:38 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-10-05 13:45:38 -0500 |
commit | a11cd84160b20c25b8916e8229bec8523bbde31c (patch) | |
tree | 416fe00b87a9beafd4a5d1bd5738c3996184f3a3 /example.c | |
parent | f56c00f05081edb723be3e1c5f268c1aac1152a4 (diff) | |
download | libpng-a11cd84160b20c25b8916e8229bec8523bbde31c.tar.gz |
[libpng16] Only mark text chunks as written after successfully writing them.
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |