Skip to content

Commit 463eeca

Browse files
MyreMylaroddbookworm
authored andcommitted
Add pixel_size test
1 parent e77b27e commit 463eeca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_c/transform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4244,7 +4244,7 @@ pixelate(pgSurfaceObject *srcobj, pgSurfaceObject *dstobj, int pixel_size)
42444244
return (SDL_Surface *)(RAISE(PyExc_ValueError,
42454245
"pixel_size must be greater than 0."));
42464246
}
4247-
4247+
42484248
if (newsurf->w != src->w || newsurf->h != src->h) {
42494249
return (SDL_Surface *)(RAISE(
42504250
PyExc_ValueError,

0 commit comments

Comments
 (0)