summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-24 04:53:19 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-24 04:53:19 (EDT)
commite05680312031f31ba72217b58c5f086f5d132f56 (patch)
tree700530eecdb0cc657889c81f319ba3e283b14f66 /src
parent90f6250f94a94272d6c7380fa017d701732058e6 (diff)
downloadmarquee-e05680312031f31ba72217b58c5f086f5d132f56.zip
marquee-e05680312031f31ba72217b58c5f086f5d132f56.tar.gz
marquee-e05680312031f31ba72217b58c5f086f5d132f56.tar.bz2
MqTree: Add sizes and positions to insertion dbg output
Diffstat (limited to 'src')
-rw-r--r--src/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 634e38a..9d35291 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -40,7 +40,8 @@ print_tree_recurse(MqTree *node, gsize indent)
for (i = 0; i < indent; ++i) {
g_print("\t");
}
- g_print("\t0x%" PRIxPTR "\n", (uintptr_t) node);
+ g_print("\t0x%" PRIxPTR " (size %d, position %d)\n",
+ (uintptr_t) node, node->size, node->position);
if (node->first_child) {
print_tree_recurse(node->first_child, indent + 1);