diff options
Diffstat (limited to 'src/3rdparty/libpng/pngrutil.c')
-rw-r--r-- | src/3rdparty/libpng/pngrutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/libpng/pngrutil.c b/src/3rdparty/libpng/pngrutil.c index 0d500900e..798abd2fc 100644 --- a/src/3rdparty/libpng/pngrutil.c +++ b/src/3rdparty/libpng/pngrutil.c @@ -1170,7 +1170,7 @@ png_handle_sPLT(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) png_ptr, new_palette.nentries * sizeof(png_sPLT_entry)); if (new_palette.entries == NULL) { - png_warning(png_ptr, "sPLT chunk retquires too much memory"); + png_warning(png_ptr, "sPLT chunk requires too much memory"); return; } @@ -3091,7 +3091,7 @@ defined(PNG_USER_TRANSFORM_PTR_SUPPORTED) 1 + ((max_pixel_depth + 7) >> 3); #ifdef PNG_MAX_MALLOC_64K if (row_bytes > (png_uint_32)65536L) - png_error(png_ptr, "This image retquires a row greater than 64KB"); + png_error(png_ptr, "This image requires a row greater than 64KB"); #endif png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes+64); png_ptr->row_buf = png_ptr->big_row_buf+32; @@ -3101,7 +3101,7 @@ defined(PNG_USER_TRANSFORM_PTR_SUPPORTED) #ifdef PNG_MAX_MALLOC_64K if ((png_uint_32)png_ptr->rowbytes + 1 > (png_uint_32)65536L) - png_error(png_ptr, "This image retquires a row greater than 64KB"); + png_error(png_ptr, "This image requires a row greater than 64KB"); #endif png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)( png_ptr->rowbytes + 1)); |