summaryrefslogtreecommitdiff
path: root/pngrtran.c
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-11-03 00:52:06 -0400
committerUnknown <kunda@scribus.net>2017-11-03 00:52:06 -0400
commitf23b41d7b1acc2b95be18a776c3cc4453af6598a (patch)
tree78af9b622c25e09576c136288cb06d45789e3ff1 /pngrtran.c
parent71254014116bf9c9b99a4c4b7f8dffbb400b7a46 (diff)
downloadlibpng-f23b41d7b1acc2b95be18a776c3cc4453af6598a.tar.gz
Misc. typos
Some are user facing. Some are in actual code. Most are in source comments. Also, please double check the changes in contrib/tools/pngfix.c
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 a394a5482..8b3f785a1 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.)
*/