summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 0adf5e0..99022a2 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -368,6 +368,7 @@ mq_tab_new_root(void)
tab->prev = NULL;
tab->next = NULL;
tab->first_child = tab->last_child = NULL;
+ tab->position = 0;
tab->tree_size = 1;
return tab;