From 28525a57f3a7ba4e821e7300ac9c74a1dbcadc24 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Feb 2015 12:10:10 -0800 Subject: Rename CMARK_OPT_SMARTPUNCT -> CMARK_OPT_SMART. --- src/inlines.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index 202dcd6..cc96141 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -971,7 +971,7 @@ static int subject_find_special_char(subject *subj, int options) while (n < subj->input.len) { if (SPECIAL_CHARS[subj->input.data[n]]) return n; - if (options & CMARK_OPT_SMARTPUNCT && + if (options & CMARK_OPT_SMART && SMART_PUNCT_CHARS[subj->input.data[n]]) return n; n++; @@ -1012,13 +1012,13 @@ static int parse_inline(subject* subj, cmark_node * parent, int options) case '_': case '\'': case '"': - new_inl = handle_delim(subj, c, options & CMARK_OPT_SMARTPUNCT); + new_inl = handle_delim(subj, c, options & CMARK_OPT_SMART); break; case '-': - new_inl = handle_hyphen(subj, options & CMARK_OPT_SMARTPUNCT); + new_inl = handle_hyphen(subj, options & CMARK_OPT_SMART); break; case '.': - new_inl = handle_period(subj, options & CMARK_OPT_SMARTPUNCT); + new_inl = handle_period(subj, options & CMARK_OPT_SMART); break; case '[': advance(subj); -- cgit v1.2.3