Merge pull request #2097 from radarhere/typos

Fixed typos
This commit is contained in:
Hugo 2016-08-31 14:17:40 +03:00 committed by GitHub
commit b9a05b8516
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 {