summaryrefslogtreecommitdiff
path: root/content/handlers/html/textselection.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-23 21:17:42 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-23 23:00:08 +0100
commitcfe57002febe0f58dfc87f0173ad42126f1362f4 (patch)
treebf77d4096f3d2c8339d20f8efef6ece8130eab8a /content/handlers/html/textselection.c
parente65e41e2d6efccba983cd63aadfb10b5b4a935b2 (diff)
downloadnetsurf-cfe57002febe0f58dfc87f0173ad42126f1362f4.tar.gz
netsurf-cfe57002febe0f58dfc87f0173ad42126f1362f4.tar.bz2
remove unused css length usage in selection
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;