Tree can't be NULL.

This commit is contained in:
Michael Drake 2012-10-11 14:06:48 +01:00
parent 211e3ac414
commit c8263d299e
1 changed files with 1 additions and 0 deletions

View File

@ -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;