diff options
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r-- | apps/mudraw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c index e94b692d..38ac47d2 100644 --- a/apps/mudraw.c +++ b/apps/mudraw.c @@ -426,8 +426,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum) fz_try(ctx) { - fz_rect bounds; - text = fz_new_text_page(ctx, fz_bound_page(doc, page, &bounds)); + text = fz_new_text_page(ctx); dev = fz_new_text_device(ctx, sheet, text); if (showtext == TEXT_HTML) fz_disable_device_hints(dev, FZ_IGNORE_IMAGE); |