diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-10 23:22:29 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-10 23:22:29 +0100 |
commit | a8596a80aeb70acb05aba29f654df24210f50c19 (patch) | |
tree | 6bf35682734c56398567a346467340504b7f1b83 /content/handlers/html/html.c | |
parent | e72ca36863f4b05e5e641e77472f0f7fef97d906 (diff) | |
download | netsurf-a8596a80aeb70acb05aba29f654df24210f50c19.tar.gz netsurf-a8596a80aeb70acb05aba29f654df24210f50c19.tar.bz2 |
move free text search general interface to content.
needs additional cleanup to call content through handler table to
perform searches.
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r-- | content/handlers/html/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index af06431bf..a3d426461 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -49,6 +49,7 @@ #include "netsurf/misc.h" #include "content/hlcache.h" #include "content/content_factory.h" +#include "content/textsearch.h" #include "desktop/selection.h" #include "desktop/scrollbar.h" #include "desktop/textarea.h" @@ -69,7 +70,6 @@ #include "html/form_internal.h" #include "html/imagemap.h" #include "html/layout.h" -#include "html/search.h" #define CHUNK 4096 @@ -1327,7 +1327,7 @@ static nserror html_close(struct content *c) selection_clear(&htmlc->sel, false); if (htmlc->search != NULL) { - search_destroy_context(htmlc->search); + content_textsearch_destroy(htmlc->search); } /* clear the html content reference to the browser window */ |