summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 9384a0b..951d238 100644
--- a/src/print.c
+++ b/src/print.c
@@ -99,7 +99,7 @@ static void render_nodes(strbuf* buffer, cmark_node* node, int indent)
case NODE_SOFTBREAK:
strbuf_printf(buffer, "softbreak\n");
break;
- case NODE_INLINE_CODE:
+ case NODE_CODE:
strbuf_printf(buffer, "code ");
print_str(buffer, node->as.literal.data, node->as.literal.len);
strbuf_putc(buffer, '\n');