summaryrefslogtreecommitdiff
path: root/source/fitz/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/util.c')
-rw-r--r--source/fitz/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/util.c b/source/fitz/util.c
index c78ab641..85ee1e45 100644
--- a/source/fitz/util.c
+++ b/source/fitz/util.c
@@ -310,7 +310,7 @@ fz_new_stext_page_from_page(fz_context *ctx, fz_page *page, const fz_stext_optio
fz_try(ctx)
{
dev = fz_new_stext_device(ctx, text, options);
- fz_run_page(ctx, page, dev, &fz_identity, NULL);
+ fz_run_page_contents(ctx, page, dev, &fz_identity, NULL);
fz_close_device(ctx, dev);
}
fz_always(ctx)