diff options
Diffstat (limited to 'contrib/libtests')
-rw-r--r-- | contrib/libtests/makepng.c | 2 | ||||
-rw-r--r-- | contrib/libtests/pngstest.c | 2 | ||||
-rw-r--r-- | contrib/libtests/pngvalid.c | 4 | ||||
-rw-r--r-- | contrib/libtests/tarith.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libtests/makepng.c b/contrib/libtests/makepng.c index e911c06e1..a866fc1d1 100644 --- a/contrib/libtests/makepng.c +++ b/contrib/libtests/makepng.c @@ -496,7 +496,7 @@ generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, case 32: case 48: case 64: - /* The rows are filled by an alogorithm similar to the above, in the + /* The rows are filled by an algorithm similar to the above, in the * first row pixel bytes are all equal, increasing from 0 by 1 for * each pixel. In the second row the bytes within a pixel are * incremented 1,3,5,7,... from the previous row byte. Using an odd diff --git a/contrib/libtests/pngstest.c b/contrib/libtests/pngstest.c index cd4f3cd2d..973e60f52 100644 --- a/contrib/libtests/pngstest.c +++ b/contrib/libtests/pngstest.c @@ -1151,7 +1151,7 @@ get_pixel(png_uint_32 format))(Pixel *p, png_const_voidp pb) * * 2) Remove color by mapping to grayscale. (Grayscale to color is a no-op.) * - * 3) Convert between 8-bit and 16-bit components. (Both directtions are + * 3) Convert between 8-bit and 16-bit components. (Both directions are * relevant.) * * This gives the following base format conversion matrix: diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index 49eed5c29..6a7422e88 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -6719,7 +6719,7 @@ transform_range_check(png_const_structp pp, unsigned int r, unsigned int g, unsigned int out, png_byte sample_depth, double err, double limit, const char *name, double digitization_error) { - /* Compare the scaled, digitzed, values of our local calculation (in+-err) + /* Compare the scaled, digitized, values of our local calculation (in+-err) * with the digitized values libpng produced; 'sample_depth' is the actual * digitization depth of the libpng output colors (the bit depth except for * palette images where it is always 8.) The check on 'err' is to detect @@ -9065,7 +9065,7 @@ image_transform_reset_count(void) static int image_transform_test_counter(png_uint_32 counter, unsigned int max) { - /* Test the list to see if there is any point contining, given a current + /* Test the list to see if there is any point continuing, given a current * counter and a 'max' value. */ image_transform *next = image_transform_first; diff --git a/contrib/libtests/tarith.c b/contrib/libtests/tarith.c index ead77e9a5..e35b7ab26 100644 --- a/contrib/libtests/tarith.c +++ b/contrib/libtests/tarith.c @@ -952,7 +952,7 @@ int validation_gamma(int argc, char **argv) /**************************** VALIDATION TESTS ********************************/ /* Various validation routines are included herein, they require some - * definition for png_warning and png_error, seetings of VALIDATION: + * definition for png_warning and png_error, settings of VALIDATION: * * 1: validates the ASCII to floating point conversions * 2: validates png_muldiv |