13 lines
543 B
Diff
13 lines
543 B
Diff
--- a/zathura-pdf-mupdf/search.c 2022-08-22 23:00:38.000000000 +0200
|
|
+++ b/zathura-pdf-mupdf/search.c 2024-11-20 03:18:05.987378393 +0100
|
|
@@ -40,8 +40,7 @@
|
|
}
|
|
|
|
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, NULL, hit_bbox, N_SEARCH_RESULTS);
|
|
+ int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text, text, hit_bbox, N_SEARCH_RESULTS);
|
|
|
|
fz_rect r;
|
|
for (int i = 0; i < num_results; i++) {
|