From 89c01a7b2249dc004eca4a6a28a6a9271db437ad Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 9 Nov 2016 20:19:02 -0800 Subject: [PATCH] :art: tree_path.h --- src/runtime/tree_path.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/runtime/tree_path.h b/src/runtime/tree_path.h index 5585040c..626c6791 100644 --- a/src/runtime/tree_path.h +++ b/src/runtime/tree_path.h @@ -89,10 +89,11 @@ static void tree_path_ascend(TreePath *path, size_t count) { static void tree_path_init(TreePath *path, TSTree *tree) { array_clear(path); - array_push(path, - ((TreePathEntry){ - .tree = tree, .position = { 0, 0, { 0, 0 } }, .child_index = 0, - })); + array_push(path, ((TreePathEntry){ + .tree = tree, + .position = { 0, 0, { 0, 0 } }, + .child_index = 0, + })); if (!tree->visible) tree_path_descend(path, (TSPoint){ 0, 0 }); }