From 1ada72c625b2005d9b03d86bc72ce1597740bf7a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Dec 2014 22:57:33 -0800 Subject: Renamed a couple variables. --- src/inlines.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/inlines.c b/src/inlines.c index d5a19cb..6bed132 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -679,7 +679,7 @@ static cmark_node* handle_close_bracket(subject* subj, cmark_node *parent) int sps; cmark_reference *ref; bool is_image = false; - cmark_chunk urlcmark_chunk, titlecmark_chunk; + cmark_chunk url_chunk, title_chunk; unsigned char *url, *title; delimiter *opener; cmark_node *link_text; @@ -734,12 +734,12 @@ static cmark_node* handle_close_bracket(subject* subj, cmark_node *parent) if (peek_at(subj, endall) == ')') { subj->pos = endall + 1; - urlcmark_chunk = cmark_chunk_dup(&subj->input, starturl, endurl - starturl); - titlecmark_chunk = cmark_chunk_dup(&subj->input, starttitle, endtitle - starttitle); - url = cmark_clean_url(&urlcmark_chunk); - title = cmark_clean_title(&titlecmark_chunk); - cmark_chunk_free(&urlcmark_chunk); - cmark_chunk_free(&titlecmark_chunk); + url_chunk = cmark_chunk_dup(&subj->input, starturl, endurl - starturl); + title_chunk = cmark_chunk_dup(&subj->input, starttitle, endtitle - starttitle); + url = cmark_clean_url(&url_chunk); + title = cmark_clean_title(&title_chunk); + cmark_chunk_free(&url_chunk); + cmark_chunk_free(&title_chunk); goto match; } else { -- cgit v1.2.3