diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-06-12 16:28:14 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-06-12 16:28:14 +0200 |
commit | b86aa63432a2436563bdcc398577ec4884883434 (patch) | |
tree | 749002e3de9d52943898a47f8c57d34c6a09b188 /ios/main.m | |
parent | b975f1b82a061db61124d1cf0cd55ab60c22dc8e (diff) | |
download | mupdf-b86aa63432a2436563bdcc398577ec4884883434.tar.xz |
Support begin/end page calls in text extraction device.
Diffstat (limited to 'ios/main.m')
-rw-r--r-- | ios/main.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie) fz_page *page = fz_load_page(doc, number); fz_text_sheet *sheet = fz_new_text_sheet(ctx); - fz_text_page *text = fz_new_text_page(ctx, &fz_empty_rect); + fz_text_page *text = fz_new_text_page(ctx); fz_device *dev = fz_new_text_device(ctx, sheet, text); fz_run_page(doc, page, dev, &fz_identity, cookie); fz_free_device(dev); |