fix clang builds

This commit is contained in:
Ryan Fleury
2024-11-01 15:22:26 -07:00
parent 4164b30aac
commit 6d55d21643
6 changed files with 39 additions and 47 deletions
@@ -819,7 +819,7 @@ ev_block_tree_from_expr(Arena *arena, EV_View *view, String8 filter, String8 str
}
// rjf: gather children expansions from inverse of expansion state
if(!child_count && (expand_info.rows_default_expanded || expand_node == 0 && !expand_info.rows_default_expanded))
if(!child_count && (expand_info.rows_default_expanded || (expand_node == 0 && !expand_info.rows_default_expanded)))
{
child_count = expand_info.row_count;
child_keys = push_array(scratch.arena, EV_Key, child_count);