From 39389bba83b4b1d64c8c540cb7c7edbe09ea4009 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 18 Dec 2015 15:29:45 +0100 Subject: Rename fz_image_get_sanitised_res to fz_image_resolution. --- source/cbz/mucbz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cbz/mucbz.c') diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c index 91f6e9db..06873f8c 100644 --- a/source/cbz/mucbz.c +++ b/source/cbz/mucbz.c @@ -120,7 +120,7 @@ cbz_bound_page(fz_context *ctx, cbz_page *page, fz_rect *bbox) fz_image *image = page->image; int xres, yres; - fz_image_get_sanitised_res(image, &xres, &yres); + fz_image_resolution(image, &xres, &yres); bbox->x0 = bbox->y0 = 0; bbox->x1 = image->w * DPI / xres; bbox->y1 = image->h * DPI / yres; @@ -135,7 +135,7 @@ cbz_run_page(fz_context *ctx, cbz_page *page, fz_device *dev, const fz_matrix *c int xres, yres; float w, h; - fz_image_get_sanitised_res(image, &xres, &yres); + fz_image_resolution(image, &xres, &yres); w = image->w * DPI / xres; h = image->h * DPI / yres; fz_pre_scale(&local_ctm, w, h); -- cgit v1.2.3