summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c
index 9e5a90e..8847d12 100644
--- a/src/print.c
+++ b/src/print.c
@@ -107,8 +107,7 @@ static void print_blocks(cmark_node* b, int indent)
switch(b->type) {
case NODE_DOCUMENT:
- printf("document\n");
- print_blocks(b->first_child, indent + 2);
+ print_blocks(b->first_child, 0);
break;
case NODE_BLOCK_QUOTE:
printf("block_quote\n");