diff options
Diffstat (limited to 'src')
-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; |