Skip to content

Commit

Permalink
Merge pull request #2097 from radarhere/typos
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
hugovk committed Aug 31, 2016
2 parents f4b81d6 + 5c59603 commit b9a05b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Tests/test_image_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def tobytes(self):
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)
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_image_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_translate_50(self):


class TestImageTransformPerspective(TestImageTransformAffine):
# Repeat all tests for AFFINE transormations with PERSPECTIVE
# Repeat all tests for AFFINE transformations with PERSPECTIVE
transform = Image.PERSPECTIVE


Expand Down
2 changes: 1 addition & 1 deletion libImaging/Jpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
2 changes: 1 addition & 1 deletion libImaging/ZipDecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b9a05b8

Please sign in to comment.