diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-06-03 22:18:15 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-06-03 22:18:15 +0000 |
commit | 38be80a680ea5e7403dd39353902a7941e7b0147 (patch) | |
tree | 47a316be8c9c5069397b009e781a20b98e09241b /desktop | |
parent | 5015eb6e87fb922b1e85a1c32dee413ec5b3eaa5 (diff) | |
download | netsurf-38be80a680ea5e7403dd39353902a7941e7b0147.tar.gz netsurf-38be80a680ea5e7403dd39353902a7941e7b0147.tar.bz2 |
Fix list marker check. Thanks to jmb and mikeL.
svn path=/trunk/netsurf/; revision=4258
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index 31c5def60..f193e2376 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -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; } |