From 6cae24c265ea7a3d19a1655b0f7692ada4273290 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 13 Oct 2014 11:11:21 -0500 Subject: [PATCH] [libpng16] Fixed some typos in comments. --- example.c | 4 ++-- pngset.c | 2 +- pngtest.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/example.c b/example.c index 9075e5726..5422b6b22 100644 --- a/example.c +++ b/example.c @@ -188,13 +188,13 @@ int main(int argc, const char **argv) * * Don't repeatedly convert between the 8-bit and 16-bit forms. There is * significant data loss when 16-bit data is converted to the 8-bit encoding and - * the current libpng implementation of convertion to 16-bit is also + * the current libpng implementation of conversion to 16-bit is also * significantly lossy. The latter will be fixed in the future, but the former * is unavoidable - the 8-bit format just doesn't have enough resolution. */ /* If your program needs more information from the PNG data it reads, or if you - * need to do more complex transformations, or minimise transformations, on the + * need to do more complex transformations, or minimize transformations, on the * data you read, then you must use one of the several lower level libpng * interfaces. * diff --git a/pngset.c b/pngset.c index 667a02063..8eb5f6e30 100644 --- a/pngset.c +++ b/pngset.c @@ -1578,7 +1578,7 @@ png_set_benign_errors(png_structrp png_ptr, int allowed) * It is possible for an indexed (color-type==3) PNG file to contain * pixels with invalid (out-of-range) indexes if the PLTE chunk has * fewer entries than the image's bit-depth would allow. We recover - * from this gracefully by filling any incomplete palette with zeroes + * from this gracefully by filling any incomplete palette with zeros * (opaque black). By default, when this occurs libpng will issue * a benign error. This API can be used to override that behavior. */ diff --git a/pngtest.c b/pngtest.c index b3d6018de..1dd461657 100644 --- a/pngtest.c +++ b/pngtest.c @@ -646,7 +646,7 @@ set_location(png_structp png_ptr, struct user_chunk_data *data, int what) if ((data->location[0] & what) || (data->location[1] & what)) return 0; /* already have one of these */ - /* Find where we are (the code below zeros info_ptr to indicate that the + /* Find where we are (the code below zeroes info_ptr to indicate that the * chunks before the first IDAT have been read.) */ if (data->info_ptr == NULL) /* after IDAT */ @@ -1991,4 +1991,4 @@ main(void) #endif /* Generate a compiler error if there is an old png.h in the search path. */ -typedef png_libpng_version_1_6_14beta08 Your_png_h_is_not_version_1_6_14beta08; +typedef png_libpng_version_1_6_14rc01 Your_png_h_is_not_version_1_6_14rc01;