summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-06 23:09:50 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-06 23:09:50 +0200
commit13947ca611561e1771f14469696ee61a53cebbe9 (patch)
tree8f2ef30bd238f730b064b07e31807e5c93167d39 /src/commonmark.c
parent56b1123c6662169ffe6a0eabc67f8533e745eb97 (diff)
astyle formatting changes.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 47da191..dba1fcf 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -260,7 +260,7 @@ is_autolink(cmark_node *node)
link_text = node->first_child;
cmark_consolidate_text_nodes(link_text);
return ((int)strlen(url) == link_text->as.literal.len &&
- strncmp(url,
+ strncmp(url,
(char*)link_text->as.literal.data,
link_text->as.literal.len) == 0);
}