Skip to content

Commit

Permalink
astyle changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 4, 2015
1 parent 4172418 commit 9a9b176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/inlines.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/man.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a9b176

Please sign in to comment.