summaryrefslogtreecommitdiff
path: root/pngrtran.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-11-03 10:57:27 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-11-03 10:57:27 -0500
commit3403a6e387a5c6272a1fdeca8cfcdffdb8601f6c (patch)
tree9c195647ebbd1e485c5909e444d68c2851d1ad4a /pngrtran.c
parentb196bd656613850ba4fb6b1be3b27d043f3305b5 (diff)
parentf23b41d7b1acc2b95be18a776c3cc4453af6598a (diff)
Merge branch 'typos' of git://github.com/luzpaz/libpng into libpng16
Diffstat (limited to 'pngrtran.c')
-rw-r--r--pngrtran.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pngrtran.c b/pngrtran.c
index c6b891e81..5c4128db3 100644
--- a/pngrtran.c
+++ b/pngrtran.c
@@ -292,7 +292,7 @@ png_set_alpha_mode_fixed(png_structrp png_ptr, int mode,
* who use the inverse of the gamma value accidentally! Since some of these
* values are reasonable this may have to be changed:
*
- * 1.6.x: changed from 0.07..3 to 0.01..100 (to accomodate the optimal 16-bit
+ * 1.6.x: changed from 0.07..3 to 0.01..100 (to accommodate the optimal 16-bit
* gamma of 36, and its reciprocal.)
*/
if (output_gamma < 1000 || output_gamma > 10000000)
@@ -1317,7 +1317,7 @@ png_init_read_transformations(png_structrp png_ptr)
else if (png_ptr->screen_gamma != 0)
/* The converse - assume the file matches the screen, note that this
- * perhaps undesireable default can (from 1.5.4) be changed by calling
+ * perhaps undesirable default can (from 1.5.4) be changed by calling
* png_set_alpha_mode (even if the alpha handling mode isn't required
* or isn't changed from the default.)
*/
@@ -1885,7 +1885,7 @@ png_init_read_transformations(png_structrp png_ptr)
png_ptr->transformations &= ~PNG_SHIFT;
- /* significant bits can be in the range 1 to 7 for a meaninful result, if
+ /* significant bits can be in the range 1 to 7 for a meaningful result, if
* the number of significant bits is 0 then no shift is done (this is an
* error condition which is silently ignored.)
*/