summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:10:10 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:10:10 -0800
commit28525a57f3a7ba4e821e7300ac9c74a1dbcadc24 (patch)
tree41bb3b6410e45989deff89c2fe09f78f252a9237 /src/inlines.c
parent2bcca4c2118733f14a91eaf585e8ff97e216b6bd (diff)
Rename CMARK_OPT_SMARTPUNCT -> CMARK_OPT_SMART.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c8
1 files changed, 4 insertions, 4 deletions
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);