summaryrefslogtreecommitdiff
path: root/content/handlers/html/html.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/html.c
parente65e41e2d6efccba983cd63aadfb10b5b4a935b2 (diff)
downloadnetsurf-cfe57002febe0f58dfc87f0173ad42126f1362f4.tar.gz
netsurf-cfe57002febe0f58dfc87f0173ad42126f1362f4.tar.bz2
remove unused css length usage in selection
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r--content/handlers/html/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index a8ae9e452..136c4eef2 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -1304,7 +1304,7 @@ html_open(struct content *c,
html->drag_owner.no_owner = true;
/* text selection */
- selection_init(&html->sel, html->layout, &html->len_ctx);
+ selection_init(&html->sel, html->layout);
html->selection_type = HTML_SELECTION_NONE;
html->selection_owner.none = true;