summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;