summaryrefslogtreecommitdiff
path: root/src/man.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:12:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:12:40 -0800
commitdd1c58355f69a5fb3ab6fc90a32f48c8a9913176 (patch)
tree3150bc0b90f60090dfc7d53fdcf66d40f677818e /src/man.c
parentb50a2cd618802543e01f46bffb4b19d5bd5b4ba6 (diff)
Rename CMARK_NODE_LIST_ITEM -> CMARK_NODE_ITEM.
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 36a5c99..d6bfc81 100644
--- a/src/man.c
+++ b/src/man.c
@@ -93,7 +93,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
case CMARK_NODE_LIST:
break;
- case CMARK_NODE_LIST_ITEM:
+ case CMARK_NODE_ITEM:
if (entering) {
cr(man);
cmark_strbuf_puts(man, ".IP ");
@@ -150,7 +150,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
if (entering) {
// no blank line if first paragraph in list:
if (node->parent &&
- node->parent->type == CMARK_NODE_LIST_ITEM &&
+ node->parent->type == CMARK_NODE_ITEM &&
node->prev == NULL) {
// no blank line or .PP
} else {