summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-15 07:43:33 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-15 07:43:33 -0700
commit14d00e76a984ed79afc09589c4c49e5deba1cec4 (patch)
treee25e4df59858d1ec7ec3e57e08243692bdd03220
parent09bebcb1de0fea76be8653bed427712fb615a610 (diff)
Use full CMARK_NODE_x instead of NODE_x alias.
-rw-r--r--src/inlines.c5
1 files changed, 3 insertions, 2 deletions
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);