Fixed typos

This commit is contained in:
Andrew Murray 2016-08-31 20:12:07 +10:00
parent f4b81d6b7e
commit 5c59603fcf
4 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ class TestImageArray(PillowTestCase):
def test(mode):
i = im.convert(mode)
a = i.__array_interface__
a["strides"] = 1 # pretend it's non-contigous
a["strides"] = 1 # pretend it's non-contiguous
# Make wrapper instance for image, new array interface
wrapped = Wrapper(i, a)
out = Image.fromarray(wrapped)

View File

@ -249,7 +249,7 @@ class TestImageTransformAffine(PillowTestCase):
class TestImageTransformPerspective(TestImageTransformAffine):
# Repeat all tests for AFFINE transormations with PERSPECTIVE
# Repeat all tests for AFFINE transformations with PERSPECTIVE
transform = Image.PERSPECTIVE

View File

@ -82,7 +82,7 @@ typedef struct {
/* Stream type (0=full, 1=tables only, 2=image only) */
int streamtype;
/* DPI setting (0=square pixels, otherwide DPI) */
/* DPI setting (0=square pixels, otherwise DPI) */
int xdpi, ydpi;
/* Chroma Subsampling (-1=default, 0=none, 1=medium, 2=high) */

View File

@ -237,7 +237,7 @@ ImagingZipDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
state->y = STARTING_ROW[context->pass];
row_len = get_row_len(state, context->pass);
/* Since we're moving to the "first" line, the previous line
* should be black to make filters work corectly */
* should be black to make filters work correctly */
memset(state->buffer, 0, state->bytes+1);
}
} else {