summaryrefslogtreecommitdiff
path: root/content/handlers/html/textselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/textselection.c')
-rw-r--r--content/handlers/html/textselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/textselection.c b/content/handlers/html/textselection.c
index 11e9deeb4..67fd25be3 100644
--- a/content/handlers/html/textselection.c
+++ b/content/handlers/html/textselection.c
@@ -271,7 +271,7 @@ html_create_selection(struct content *c, struct selection **sel_out)
return NSERROR_NOMEM;
}
- selection_init(sel, html->layout, &html->len_ctx);
+ selection_init(sel, html->layout);
*sel_out = sel;
return NSERROR_OK;