diff options
Diffstat (limited to 'source/fitz/bbox-device.c')
-rw-r--r-- | source/fitz/bbox-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/bbox-device.c b/source/fitz/bbox-device.c index 42ca57ad..340eef3c 100644 --- a/source/fitz/bbox-device.c +++ b/source/fitz/bbox-device.c @@ -179,7 +179,7 @@ fz_bbox_end_tile(fz_context *ctx, fz_device *dev) } static void -fz_bbox_close(fz_context *ctx, fz_device *dev) +fz_bbox_drop_device(fz_context *ctx, fz_device *dev) { fz_bbox_device *bdev = (fz_bbox_device*)dev; if (bdev->top > 0) @@ -191,7 +191,7 @@ fz_new_bbox_device(fz_context *ctx, fz_rect *result) { fz_bbox_device *dev = fz_new_device(ctx, sizeof *dev); - dev->super.close = fz_bbox_close; + dev->super.drop_device = fz_bbox_drop_device; dev->super.fill_path = fz_bbox_fill_path; dev->super.stroke_path = fz_bbox_stroke_path; |