diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-12 21:09:41 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-12 21:09:41 +0100 |
commit | 3c7538a9f906e38e78be0300049f9e49839d7fd7 (patch) | |
tree | 318e996390f05db954969b2eb9cb71760f118e75 /desktop | |
parent | a8596a80aeb70acb05aba29f654df24210f50c19 (diff) | |
download | netsurf-3c7538a9f906e38e78be0300049f9e49839d7fd7.tar.gz netsurf-3c7538a9f906e38e78be0300049f9e49839d7fd7.tar.bz2 |
hoist common text search out of content handlers
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/search.c b/desktop/search.c index c4b5b3535..df77a8fda 100644 --- a/desktop/search.c +++ b/desktop/search.c @@ -37,7 +37,7 @@ void browser_window_search(struct browser_window *bw, void *context, { if ((bw != NULL) && (bw->current_content != NULL)) { - content_search(bw->current_content, context, flags, string); + content_textsearch(bw->current_content, context, flags, string); } } @@ -46,6 +46,6 @@ void browser_window_search_clear(struct browser_window *bw) { if ((bw != NULL) && (bw->current_content != NULL)) { - content_search_clear(bw->current_content); + content_textsearch_clear(bw->current_content); } } |