diff options
Diffstat (limited to 'platform/ios/common.m')
-rw-r--r-- | platform/ios/common.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/common.m b/platform/ios/common.m index 081e6a6f..310a08fc 100644 --- a/platform/ios/common.m +++ b/platform/ios/common.m @@ -23,7 +23,7 @@ int search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie) fz_rect mediabox; fz_stext_sheet *sheet = fz_new_stext_sheet(ctx); fz_stext_page *text = fz_new_stext_page(ctx, fz_bound_page(ctx, page, &mediabox)); - fz_device *dev = fz_new_stext_device(ctx, sheet, text, 0); + fz_device *dev = fz_new_stext_device(ctx, sheet, text, NULL); fz_run_page(ctx, page, dev, &fz_identity, cookie); fz_drop_device(ctx, dev); |