summaryrefslogtreecommitdiff
path: root/src/man.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-14 08:18:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-14 08:18:27 -0800
commit66e986ec02c417ba9387dbf906381bba598c3f00 (patch)
treee0b5b7d693010e18846fbe210338ed90ae6761b2 /src/man.c
parent6df2047d90d81e6269a37e7e6843211edf4ba3c6 (diff)
Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE.
Diffstat (limited to 'src/man.c')
-rw-r--r--src/man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/man.c b/src/man.c
index b86c7e6..3058b25 100644
--- a/src/man.c
+++ b/src/man.c
@@ -58,7 +58,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
if (state->plain != NULL) {
switch(node->type) {
case CMARK_NODE_TEXT:
- case CMARK_NODE_INLINE_CODE:
+ case CMARK_NODE_CODE:
case CMARK_NODE_INLINE_HTML:
escape_man(man, node->as.literal.data,
node->as.literal.len);
@@ -174,7 +174,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
strbuf_putc(man, '\n');
break;
- case CMARK_NODE_INLINE_CODE:
+ case CMARK_NODE_CODE:
strbuf_puts(man, "\\f[C]");
escape_man(man, node->as.literal.data, node->as.literal.len);
strbuf_puts(man, "\\f[]");