summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index c52dc0723..8517cc122 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -753,6 +753,7 @@ static void tree_handle_node_changed(struct tree *tree, struct node *node,
int node_width, node_height, tree_width, tree_height;
assert(node != NULL);
+ assert(tree != NULL);
node_width = node->box.width;
node_height = node->box.height;