summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-25 00:23:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-25 00:23:40 (EDT)
commit9ad9b3cdeeebd9a1d6c775e1cb7b67013e7e17fd (patch)
tree3011dfdfffbe77802af09d44fabd7b8f2acaae47
parent7eac0a3b7776ca1746e216ccbdbbb936603bb1df (diff)
downloadmarquee-9ad9b3cdeeebd9a1d6c775e1cb7b67013e7e17fd.zip
marquee-9ad9b3cdeeebd9a1d6c775e1cb7b67013e7e17fd.tar.gz
marquee-9ad9b3cdeeebd9a1d6c775e1cb7b67013e7e17fd.tar.bz2
mq_tab_new_root(): Initialize position
-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;