Skip to content

Commit 01c43bb

Browse files
committed
Update extra.i
1 parent f7037e5 commit 01c43bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extra.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3541,7 +3541,7 @@ void JM_make_image_block(fz_stext_block *block, PyObject *block_dict)
35413541
bytes = JM_BinFromBuffer(buf);
35423542
if (image->mask) {
35433543
mask_buf = fz_new_buffer_from_image_as_png(ctx, image->mask, fz_default_color_params);
3544-
mask_bytes = JM_BinFromBuffer(mask);
3544+
mask_bytes = JM_BinFromBuffer(mask_buf);
35453545
} else {
35463546
mask_bytes = Py_BuildValue("s", NULL);
35473547
}

0 commit comments

Comments
 (0)