diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:34:34 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:34:34 (EDT) |
commit | 313c7d8b418139f9763c271c145af79f80ffb1e9 (patch) | |
tree | 42117dfa6fc4263a100fec0ba8fa9788619d5005 | |
parent | 07a4eccc7595c53863996fcc3d38d263f35ef5cc (diff) | |
download | marquee-313c7d8b418139f9763c271c145af79f80ffb1e9.zip marquee-313c7d8b418139f9763c271c145af79f80ffb1e9.tar.gz marquee-313c7d8b418139f9763c271c145af79f80ffb1e9.tar.bz2 |
mq_tree_insert_root_allocated(): Set node size
-rw-r--r-- | src/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ MqTree * mq_tree_insert_root_allocated(MqTree *node, gpointer data) { node->root = node; + node->size = 1; node->data = data; return node; |