diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 16:00:36 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 16:00:36 (EDT) |
commit | 0724d51558d9e9adc477c6de2c1cc70684fbbfaf (patch) | |
tree | 02d7fd28d5b630362f8c98fa2feaf6fde861da30 | |
parent | 101c6d846fa878729247bf572f93eb0da227819d (diff) | |
download | marquee-0724d51558d9e9adc477c6de2c1cc70684fbbfaf.zip marquee-0724d51558d9e9adc477c6de2c1cc70684fbbfaf.tar.gz marquee-0724d51558d9e9adc477c6de2c1cc70684fbbfaf.tar.bz2 |
mq_tree_next(): Fix
-rw-r--r-- | src/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ mq_tree_remove(MqTree *node); #define mq_tree_position(node) ((node) ? (((MqTree *) (node))->position) : -1) #define mq_tree_root(node) ((node) ? (((MqTree *) (node))->root) : NULL) #define mq_tree_previous(node) ((node) ? (((MqTree *) (node))->prev) : NULL) -#define mq_tree_next(node) ((node) ? (((MqTree *) (node))->prev) : NULL) +#define mq_tree_next(node) ((node) ? (((MqTree *) (node))->next) : NULL) #define mq_tree_first_child(node) \ ((node) ? (((MqTree *) (node))->first_child) : NULL) |