summaryrefslogtreecommitdiff
path: root/content/handlers/html/textselection.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-23 22:09:40 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-23 23:00:08 +0100
commit2ea577c47ecca38a0b2d15b15d242c771ce59e29 (patch)
treefcc5dd27bcd3f5942bb6b58fd5c2d948c4b5ee5f /content/handlers/html/textselection.c
parenta8c540ea597fb17426c5458fa464f9c505c3bda8 (diff)
downloadnetsurf-2ea577c47ecca38a0b2d15b15d242c771ce59e29.tar.gz
netsurf-2ea577c47ecca38a0b2d15b15d242c771ce59e29.tar.bz2
remove unused is_html parameter to text selection routines
Diffstat (limited to 'content/handlers/html/textselection.c')
-rw-r--r--content/handlers/html/textselection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/handlers/html/textselection.c b/content/handlers/html/textselection.c
index 06e28e11f..becebb882 100644
--- a/content/handlers/html/textselection.c
+++ b/content/handlers/html/textselection.c
@@ -265,13 +265,11 @@ nserror
html_create_selection(struct content *c, struct selection **sel_out)
{
struct selection *sel;
- sel = selection_create(c, true);
+ sel = selection_create(c);
if (sel == NULL) {
return NSERROR_NOMEM;
}
- selection_init(sel);
-
*sel_out = sel;
return NSERROR_OK;
}