From c00fdc7e30675e5d4d85b8acd206a827da62a0fd Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 26 Mar 2020 21:45:21 +0200 Subject: [PATCH] Fix typos Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- src/libImaging/TiffDecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libImaging/TiffDecode.c b/src/libImaging/TiffDecode.c index 12cf875ef..532db1f68 100644 --- a/src/libImaging/TiffDecode.c +++ b/src/libImaging/TiffDecode.c @@ -364,7 +364,7 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, Py_ state->bytes = row_byte_size * tile_length; if (TIFFTileSize(tiff) > state->bytes) { - // If the strip size as expected by LibTiff isn't we're expecting, abort. + // If the strip size as expected by LibTiff isn't what we're expecting, abort. state->errcode = IMAGING_CODEC_MEMORY; TIFFClose(tiff); return -1; @@ -437,7 +437,7 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, Py_ TRACE(("StripSize: %d \n", state->bytes)); if (TIFFStripSize(tiff) > state->bytes) { - // If the strip size as expected by LibTiff isn't we're expecting, abort. + // If the strip size as expected by LibTiff isn't what we're expecting, abort. // man: TIFFStripSize returns the equivalent size for a strip of data as it would be returned in a // call to TIFFReadEncodedStrip ...