diff options
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; } |