mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Fix list marker check. Thanks to jmb and mikeL.
svn path=/trunk/netsurf/; revision=4258
This commit is contained in:
parent
5015eb6e87
commit
38be80a680
@ -446,7 +446,7 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx,
|
||||
assert(box);
|
||||
|
||||
/* If selection starts inside marker */
|
||||
if (box->parent->list_marker == box && !do_marker) {
|
||||
if (box->parent && box->parent->list_marker == box && !do_marker) {
|
||||
/* set box to main list element */
|
||||
box = box->parent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user