mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-15 01:34:45 +03:00
fix mask check in paste_mask_1()
This commit is contained in:
parent
bdd292f2cd
commit
05f78ca4db
|
@ -102,7 +102,7 @@ paste_mask_1(
|
|||
UINT8 *mask = (UINT8 *)imMask->image[y + sy] + sx;
|
||||
for (x = 0; x < xsize; x++) {
|
||||
for (b = 0; b < pixelsize; b++) {
|
||||
if (*mask++) {
|
||||
if (mask[x]) {
|
||||
*out = *in;
|
||||
}
|
||||
out++, in++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user