summaryrefslogtreecommitdiff
path: root/render/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/search.c')
-rw-r--r--render/search.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/search.c b/render/search.c
index 8f21d8758..ca9520165 100644
--- a/render/search.c
+++ b/render/search.c
@@ -621,13 +621,14 @@ void search_show_all(bool all, struct search_context *context)
if (!a->sel)
continue;
- selection_init(a->sel, html->layout);
+ selection_init(a->sel, html->layout,
+ &html->len_ctx);
} else {
a->sel = selection_create(context->c, false);
if (!a->sel)
continue;
- selection_init(a->sel, NULL);
+ selection_init(a->sel, NULL, NULL);
}
selection_set_start(a->sel, a->start_idx);