diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-03 14:38:01 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-03 14:38:01 +0100 |
commit | b9e3f7ae3d8164f6a7037028af96a88b03a277b9 (patch) | |
tree | 5830b297733e089a7f74a5aa9f47c632d18463aa /desktop/treeview.c | |
parent | 42afcf918f06a64a0a0ec97f9228755a51a976ce (diff) | |
download | netsurf-b9e3f7ae3d8164f6a7037028af96a88b03a277b9.tar.gz netsurf-b9e3f7ae3d8164f6a7037028af96a88b03a277b9.tar.bz2 |
Ensure tree height is provided when treeview building is complete.
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r-- | desktop/treeview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c index a2c9e0de5..f9b984c25 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -3428,6 +3428,8 @@ int treeview_get_height(treeview *tree) assert(tree != NULL); assert(tree->root != NULL); + tree->cw_t->update_size(tree->cw_h, -1, tree->root->height); + return tree->root->height; } |