summaryrefslogtreecommitdiff
path: root/contrib/tools/pngfix.c
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2022-01-08 06:41:50 -0500
committerCosmin Truta <ctruta@gmail.com>2022-09-13 01:35:28 +0300
commitf16427e58e5e96bcb7308fccb7e9c4e67f0af271 (patch)
tree8a7dfffe11ac03cd0e10b8852615ec1e6a100e4d /contrib/tools/pngfix.c
parent6aff792b6609ec3e651e41810643140a365a30c7 (diff)
downloadlibpng-f16427e58e5e96bcb7308fccb7e9c4e67f0af271.tar.gz
Fix various typos
Found via `codespell -q 3 -S ./ltmain.sh,./scripts/libtool.m4 -L ake,ans,ba,bloc,crashers,doed,inout,lengthh,maked,paeth,parm,parms,redy,unx`
Diffstat (limited to 'contrib/tools/pngfix.c')
-rw-r--r--contrib/tools/pngfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/pngfix.c b/contrib/tools/pngfix.c
index 2fa5d13ea..389434ff4 100644
--- a/contrib/tools/pngfix.c
+++ b/contrib/tools/pngfix.c
@@ -1598,7 +1598,7 @@ chunk_init(struct chunk * const chunk, struct file * const file)
chunk->chunk_length = file->length;
chunk->chunk_type = file->type;
- /* Compresssed/uncompressed size information (from the zlib control structure
+ /* Compressed/uncompressed size information (from the zlib control structure
* that is used to check the compressed data in a chunk.)
*/
chunk->uncompressed_digits = 0;
@@ -2929,7 +2929,7 @@ process_chunk(struct file *file, png_uint_32 file_crc, png_uint_32 next_length,
}
/* Control reaches this point if the chunk must be skipped. For chunks other
- * than IDAT this means that the zlib compressed data is fatally damanged and
+ * than IDAT this means that the zlib compressed data is fatally damaged and
* the chunk will not be passed to libpng. For IDAT it means that the end of
* the IDAT stream has not yet been reached and we must handle the next
* (IDAT) chunk. If the LZ data in an IDAT stream cannot be read 'stop' must