Skip to content

Commit c00fdc7

Browse files
hugovkradarhere
andcommitted
Fix typos
Co-Authored-By: Andrew Murray <[email protected]>
1 parent 6e7c0ce commit c00fdc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libImaging/TiffDecode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, Py_
364364
state->bytes = row_byte_size * tile_length;
365365

366366
if (TIFFTileSize(tiff) > state->bytes) {
367-
// If the strip size as expected by LibTiff isn't we're expecting, abort.
367+
// If the strip size as expected by LibTiff isn't what we're expecting, abort.
368368
state->errcode = IMAGING_CODEC_MEMORY;
369369
TIFFClose(tiff);
370370
return -1;
@@ -437,7 +437,7 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, Py_
437437
TRACE(("StripSize: %d \n", state->bytes));
438438

439439
if (TIFFStripSize(tiff) > state->bytes) {
440-
// If the strip size as expected by LibTiff isn't we're expecting, abort.
440+
// If the strip size as expected by LibTiff isn't what we're expecting, abort.
441441
// man: TIFFStripSize returns the equivalent size for a strip of data as it would be returned in a
442442
// call to TIFFReadEncodedStrip ...
443443

0 commit comments

Comments
 (0)