summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-10-26 23:13:54 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-10-26 23:15:08 +0800
commitde085341deeb2b279b9afb72b03e1d7a097a7b0a (patch)
tree1aaa778c2a7ea73918a64984f252f3ef5175a9e5 /source
parent841c430955132c747f61b9baed3baa17257ab585 (diff)
downloadmupdf-de085341deeb2b279b9afb72b03e1d7a097a7b0a.tar.xz
Update ios/android to use new way of passion stext options.
In addition, make all callers passing 0 as a point pass NULL instead.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/util.c4
1 files changed, 2 insertions, 2 deletions
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)