summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-11 14:06:48 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-11 14:06:48 +0100
commitc8263d299eed85f43bc4a67f8cece5fce6aa6836 (patch)
treef3d6d1e98648059bcafaf6a28c41f0c3824e6a2e /desktop/tree.c
parent211e3ac41473b94a9a2d795bf5ecb2f4dc9b2ab4 (diff)
downloadnetsurf-c8263d299eed85f43bc4a67f8cece5fce6aa6836.tar.gz
netsurf-c8263d299eed85f43bc4a67f8cece5fce6aa6836.tar.bz2
Tree can't be NULL.
Diffstat (limited to 'desktop/tree.c')
-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;