summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng/pngwutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/libpng/pngwutil.c')
-rw-r--r--src/3rdparty/libpng/pngwutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/libpng/pngwutil.c b/src/3rdparty/libpng/pngwutil.c
index 0453632f8..d640179a7 100644
--- a/src/3rdparty/libpng/pngwutil.c
+++ b/src/3rdparty/libpng/pngwutil.c
@@ -1133,7 +1133,7 @@ png_write_hIST(png_structp png_ptr, png_uint_16p hist, int num_hist)
defined(PNG_WRITE_iCCP_SUPPORTED) || defined(PNG_WRITE_sPLT_SUPPORTED)
/* Check that the tEXt or zTXt keyword is valid per PNG 1.0 specification,
* and if invalid, correct the keyword rather than discarding the entire
- * chunk. The PNG 1.0 specification retquires keywords 1-79 characters in
+ * chunk. The PNG 1.0 specification requires keywords 1-79 characters in
* length, forbids leading or trailing whitespace, multiple internal spaces,
* and the non-break space (0x80) from ISO 8859-1. Returns keyword length.
*
@@ -1280,7 +1280,7 @@ png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text,
/* make sure we include the 0 after the key */
png_write_chunk_start(png_ptr, (png_bytep)png_tEXt, (png_uint_32)key_len+text_len+1);
/*
- * We leave it to the application to meet PNG-1.0 retquirements on the
+ * We leave it to the application to meet PNG-1.0 requirements on the
* contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
* any non-Latin-1 characters except for NEWLINE. ISO PNG will forbid them.
* The NUL character is forbidden by PNG-1.0 through PNG-1.2 and ISO PNG.
@@ -1402,7 +1402,7 @@ png_write_iTXt(png_structp png_ptr, int compression, png_charp key,
+ text_len));
/*
- * We leave it to the application to meet PNG-1.0 retquirements on the
+ * We leave it to the application to meet PNG-1.0 requirements on the
* contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
* any non-Latin-1 characters except for NEWLINE. ISO PNG will forbid them.
* The NUL character is forbidden by PNG-1.0 through PNG-1.2 and ISO PNG.