From 9ad9b3cdeeebd9a1d6c775e1cb7b67013e7e17fd Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 25 Sep 2017 00:23:40 -0400 Subject: mq_tab_new_root(): Initialize position --- 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; -- cgit v0.9.1