mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a9e1dcfed2
commit
282e7ec8c0
|
@ -1462,8 +1462,8 @@ ImagingReduce(Imaging imIn, int xscale, int yscale, int box[4]) {
|
||||||
|
|
||||||
imOut = ImagingNewDirty(
|
imOut = ImagingNewDirty(
|
||||||
imIn->mode,
|
imIn->mode,
|
||||||
(ImagingNewParams
|
(ImagingNewParams){(box[2] + xscale - 1) / xscale,
|
||||||
){(box[2] + xscale - 1) / xscale, (box[3] + yscale - 1) / yscale}
|
(box[3] + yscale - 1) / yscale}
|
||||||
);
|
);
|
||||||
if (!imOut) {
|
if (!imOut) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user