diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-24 05:04:40 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-24 05:04:40 (EDT) |
commit | 9c87d85d565c1b12fa7a5e7c45eca091cc4b6f38 (patch) | |
tree | b8f944da459c9591297e057dd0fb8052a0db7257 | |
parent | b91849c57cd0a1be58a9ff31526591d75e4b0b16 (diff) | |
download | marquee-9c87d85d565c1b12fa7a5e7c45eca091cc4b6f38.zip marquee-9c87d85d565c1b12fa7a5e7c45eca091cc4b6f38.tar.gz marquee-9c87d85d565c1b12fa7a5e7c45eca091cc4b6f38.tar.bz2 |
mq_tree_insert_sibling*(): Fix new node position
-rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ mq_tree_insert_sibling_allocated(MqTree *node, MqTree *sibling, gpointer data) node->size = 0; update_sizes(node, 1); - node->position = sibling->position; + node->position = sibling->position + sibling->size - 1; update_positions(node, 1); node->data = data; |