From 14d00e76a984ed79afc09589c4c49e5deba1cec4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 15 Jul 2015 07:43:33 -0700 Subject: Use full CMARK_NODE_x instead of NODE_x alias. --- src/inlines.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index 7ea308d..f97aee9 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -620,7 +620,8 @@ S_insert_emph(subject *subj, delimiter *opener, delimiter *closer) // replace empty opener inline with emph cmark_chunk_free(&(opener_inl->as.literal)); emph = opener_inl; - emph->type = use_delims == 1 ? NODE_EMPH : NODE_STRONG; + emph->type = use_delims == 1 ? + CMARK_NODE_EMPH : CMARK_NODE_STRONG; // remove opener from list remove_delimiter(subj, opener); } else { @@ -961,7 +962,7 @@ noMatch: match: inl = opener->inl_text; - inl->type = is_image ? NODE_IMAGE : NODE_LINK; + inl->type = is_image ? CMARK_NODE_IMAGE : CMARK_NODE_LINK; cmark_chunk_free(&inl->as.literal); inl->first_child = link_text; process_emphasis(subj, opener); -- cgit v1.2.3