diff options
-rw-r--r-- | source/fitz/bbox-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/bbox-device.c b/source/fitz/bbox-device.c index 9cb2a27e..8a298fe1 100644 --- a/source/fitz/bbox-device.c +++ b/source/fitz/bbox-device.c @@ -119,7 +119,7 @@ fz_bbox_clip_stroke_text(fz_device *dev, fz_text *text, fz_stroke_state *stroke, static void fz_bbox_clip_image_mask(fz_device *dev, fz_image *image, const fz_rect *rect, const fz_matrix *ctm) { - fz_rect r = *rect; + fz_rect r = fz_unit_rect; fz_bbox_add_rect(dev, fz_transform_rect(&r, ctm), 1); } |