summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c
index 98ae0a6..c8bf5f5 100644
--- a/src/print.c
+++ b/src/print.c
@@ -76,15 +76,15 @@ static void print_inlines(cmark_node* ils, int indent)
print_str(ils->as.link.title, -1);
}
putchar('\n');
- print_inlines(ils->as.link.label, indent + 2);
+ print_inlines(ils->first_child, indent + 2);
break;
case NODE_STRONG:
printf("strong\n");
- print_inlines(ils->as.link.label, indent + 2);
+ print_inlines(ils->first_child, indent + 2);
break;
case NODE_EMPH:
printf("emph\n");
- print_inlines(ils->as.link.label, indent + 2);
+ print_inlines(ils->first_child, indent + 2);
break;
default:
break;