From d97e99b02b40114c584661541805704006ffefee Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 26 Jul 2011 10:52:26 +0000 Subject: Remove unused hlcache_handle from search context. svn path=/trunk/netsurf/; revision=12625 --- desktop/search.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'desktop/search.c') diff --git a/desktop/search.c b/desktop/search.c index 09f5a5958..29455d8d5 100644 --- a/desktop/search.c +++ b/desktop/search.c @@ -62,7 +62,6 @@ struct list_entry { struct search_context { struct browser_window *bw; - hlcache_handle *content; char *string; bool prev_case_sens; bool newsearch; @@ -128,7 +127,6 @@ bool search_create_context(struct browser_window *bw, context->found = search_head; context->current = NULL; - context->content = NULL; context->string = NULL; context->prev_case_sens = false; context->newsearch = true; @@ -307,8 +305,7 @@ void search_text(const char *string, int string_len, if ((context->callbacks != NULL) && (context->callbacks->hourglass != NULL)) context->callbacks->hourglass(false, context->p); - - context->content = c; + context->prev_case_sens = case_sensitive; /* LOG(("%d %p %p (%p, %p)", new, search_data.found->next, search_data.current, search_data.current->prev, search_data.current->next)); */ -- cgit v1.2.3