summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inlines.c8
-rw-r--r--src/man.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 9ed7d46..e2641a7 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -461,21 +461,21 @@ static void process_emphasis(subject *subj, delimiter *start_delim)
} else if (closer->delim_char == '\'') {
cmark_chunk_free(&closer->inl_text->as.literal);
closer->inl_text->as.literal =
- cmark_chunk_literal(RIGHTSINGLEQUOTE);
+ cmark_chunk_literal(RIGHTSINGLEQUOTE);
if (opener != NULL && opener != start_delim) {
cmark_chunk_free(&opener->inl_text->as.literal);
opener->inl_text->as.literal =
- cmark_chunk_literal(LEFTSINGLEQUOTE);
+ cmark_chunk_literal(LEFTSINGLEQUOTE);
}
closer = closer->next;
} else if (closer->delim_char == '"') {
cmark_chunk_free(&closer->inl_text->as.literal);
closer->inl_text->as.literal =
- cmark_chunk_literal(RIGHTDOUBLEQUOTE);
+ cmark_chunk_literal(RIGHTDOUBLEQUOTE);
if (opener != NULL && opener != start_delim) {
cmark_chunk_free(&opener->inl_text->as.literal);
opener->inl_text->as.literal =
- cmark_chunk_literal(LEFTDOUBLEQUOTE);
+ cmark_chunk_literal(LEFTDOUBLEQUOTE);
}
closer = closer->next;
}
diff --git a/src/man.c b/src/man.c
index 27d308b..27cd2e4 100644
--- a/src/man.c
+++ b/src/man.c
@@ -200,7 +200,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
case CMARK_NODE_TEXT:
escape_man(man, node->as.literal.data,
- node->as.literal.len);
+ node->as.literal.len);
break;
case CMARK_NODE_LINEBREAK: