Commit 95c830c9 authored by Pavel Vinogradov's avatar Pavel Vinogradov

Adapted to MuPDF >= 1.16.x

parent 43e7027e
Pipeline #169 failed with stages
......@@ -39,7 +39,7 @@ pdf_page_search_text(zathura_page_t* page, void* data, const char* text, zathura
mupdf_page_extract_text(mupdf_document, mupdf_page);
}
fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_quad));
fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, fz_quad);
int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
text, hit_bbox, N_SEARCH_RESULTS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment