summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-07-12 18:49:47 +0100
committerVincent Sanders <vince@kyllikki.org>2020-07-12 18:49:47 +0100
commit652078f8cf098c1afb6e7c9dfcb0d70415db301c (patch)
tree56a1f6f86ba58daf41e5ca9a17797b618cd9c828
parent313e5cabba172c79a0a8d2bab0b8a99c204616fc (diff)
downloadnetsurf-master.tar.gz
netsurf-master.tar.bz2
fix erronenous child variable assignmentHEADmaster
-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 cc08aeff2..9de7590f0 100644
--- a/content/handlers/html/textselection.c
+++ b/content/handlers/html/textselection.c
@@ -448,7 +448,7 @@ static unsigned selection_label_subtree(struct box *box, unsigned idx)
assert(box != NULL);
- box = box->children;
+ child = box->children;
box->byte_offset = idx;