Skip to content

Commit 53568b1

Browse files
akxradarhere
andcommitted
Update src/libImaging/Offset.c
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
1 parent ea0b7da commit 53568b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libImaging/Offset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ ImagingOffset(Imaging im, int xoffset, int yoffset) {
5656
#define OFFSET(type, image) \
5757
for (y = 0; y < im->ysize; y++) { \
5858
int yi = (y + yoffset) % im->ysize; \
59-
type *restrict out = imOut->image[y]; \
6059
type *restrict in = im->image[yi]; \
60+
type *restrict out = imOut->image[y]; \
6161
for (x = 0; x < im->xsize; x++) { \
6262
int xi = (x + xoffset) % im->xsize; \
6363
out[x] = in[xi]; \

0 commit comments

Comments
 (0)