From 652078f8cf098c1afb6e7c9dfcb0d70415db301c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 12 Jul 2020 18:49:47 +0100 Subject: fix erronenous child variable assignment --- content/handlers/html/textselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3