mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-28 05:54:12 +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(
|
||||
imIn->mode,
|
||||
(ImagingNewParams
|
||||
){(box[2] + xscale - 1) / xscale, (box[3] + yscale - 1) / yscale}
|
||||
(ImagingNewParams){(box[2] + xscale - 1) / xscale,
|
||||
(box[3] + yscale - 1) / yscale}
|
||||
);
|
||||
if (!imOut) {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user