From 4fc3c0324e080c3df7455a9ba8fcb60d6baba7eb Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 27 May 2013 12:53:03 +0100 Subject: Treat multiple whitespace in search strings as single. Skip over successive whitespace in search string. Make android use text_search.c --- fitz/fitz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fitz/fitz.h') diff --git a/fitz/fitz.h b/fitz/fitz.h index 52264d92..8817672d 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -2292,7 +2292,7 @@ void fz_print_text_page(fz_context *ctx, fz_output *out, fz_text_page *page); NOTE: This is an experimental interface and subject to change without notice. */ -int fz_search_text_page(fz_context *ctx, fz_text_page *text, char *needle, fz_rect *hit_bbox, int hit_max); +int fz_search_text_page(fz_context *ctx, fz_text_page *text, const char *needle, fz_rect *hit_bbox, int hit_max); /* fz_highlight_selection: Return a list of rectangles to highlight given a selection rectangle. -- cgit v1.2.3