summaryrefslogtreecommitdiff
path: root/desktop/search.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-26 10:52:26 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-26 10:52:26 +0000
commitd97e99b02b40114c584661541805704006ffefee (patch)
treebab34a6ce19f3c300cf34860eb114144135b6dc9 /desktop/search.c
parent3e1bd0d0bf082fc555d29a7cd34607a7ad5e9ab0 (diff)
downloadnetsurf-d97e99b02b40114c584661541805704006ffefee.tar.gz
netsurf-d97e99b02b40114c584661541805704006ffefee.tar.bz2
Remove unused hlcache_handle from search context.
svn path=/trunk/netsurf/; revision=12625
Diffstat (limited to 'desktop/search.c')
-rw-r--r--desktop/search.c5
1 files changed, 1 insertions, 4 deletions
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)); */