diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-24 20:19:02 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-24 20:19:02 (EDT) |
commit | 5f76a52e558a8069fe39ed668e96e9e14165dad3 (patch) | |
tree | 9ff54b5f1a6c49847ead839c2bc4328903d28a65 /autogen.sh | |
parent | 1f8fc99cabe1acd886342e7c61e5e492fea125d1 (diff) | |
download | marquee-5f76a52e558a8069fe39ed668e96e9e14165dad3.zip marquee-5f76a52e558a8069fe39ed668e96e9e14165dad3.tar.gz marquee-5f76a52e558a8069fe39ed668e96e9e14165dad3.tar.bz2 |
mq_tree_foreach_from(): Fix upward traversal
Steps to reproduce bug:
1. From tab 1, append a new child
2. From tab 1, insert a new sibling
3. From tab 1, insert a new sibling
The position of the last tab (the next sibling of the new tab inserted
in step 3) gets updated twice.
Tree debugging output:
Traversing tree from position, starting at 0x12bf620
0x12bf620
0x1272f80
0x1272f80
Inserted sibling 0x12bf620, new tree (size 5):
0xe7f7f0 (size 5, position 0)
0xed3e10 (size 2, position 1)
0x114ef40 (size 1, position 2)
0x12bf620 (size 1, position 3)
0x1272f80 (size 1, position 5)
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions