From de085341deeb2b279b9afb72b03e1d7a097a7b0a Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 26 Oct 2016 23:13:54 +0800 Subject: Update ios/android to use new way of passion stext options. In addition, make all callers passing 0 as a point pass NULL instead. --- source/fitz/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/fitz/util.c b/source/fitz/util.c index be8502a5..cc2c9c7e 100644 --- a/source/fitz/util.c +++ b/source/fitz/util.c @@ -350,7 +350,7 @@ fz_search_display_list(fz_context *ctx, fz_display_list *list, const char *needl sheet = fz_new_stext_sheet(ctx); fz_try(ctx) { - text = fz_new_stext_page_from_display_list(ctx, list, sheet, 0); + text = fz_new_stext_page_from_display_list(ctx, list, sheet, NULL); count = fz_search_stext_page(ctx, text, needle, hit_bbox, hit_max); } fz_always(ctx) @@ -371,7 +371,7 @@ fz_search_page(fz_context *ctx, fz_page *page, const char *needle, fz_rect *hit_ sheet = fz_new_stext_sheet(ctx); fz_try(ctx) { - text = fz_new_stext_page_from_page(ctx, page, sheet, 0); + text = fz_new_stext_page_from_page(ctx, page, sheet, NULL); count = fz_search_stext_page(ctx, text, needle, hit_bbox, hit_max); } fz_always(ctx) -- cgit v1.2.3