diff options
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r-- | desktop/treeview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c index d9e1f9ec6..3191515fb 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -2708,6 +2708,7 @@ static bool treeview_set_move_indicator(treeview *tree, bool need_redraw, assert(tree != NULL); assert(tree->root != NULL); assert(tree->root->children != NULL); + assert(target != NULL); if (target->flags & TREE_NODE_SELECTED) { /* Find top selected ancestor */ |