summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:57:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:57:33 -0800
commit1ada72c625b2005d9b03d86bc72ce1597740bf7a (patch)
tree4a79c7ff51d5f6c942147347b298aab8615e2f70 /src
parent6a1d17d27fcdd3217228b9543c4a658fffa27c00 (diff)
Renamed a couple variables.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c14
1 files changed, 7 insertions, 7 deletions
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 {