diff options
Diffstat (limited to 'src/inlines.c')
-rwxr-xr-x | src/inlines.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inlines.c b/src/inlines.c index f8a2cfc..3275ddd 100755 --- a/src/inlines.c +++ b/src/inlines.c @@ -1034,13 +1034,13 @@ static int parse_inline(subject *subj, cmark_node *parent, int options) { case '_': case '\'': case '"': - new_inl = handle_delim(subj, c, options & CMARK_OPT_SMART); + new_inl = handle_delim(subj, c, (options & CMARK_OPT_SMART) != 0); break; case '-': - new_inl = handle_hyphen(subj, options & CMARK_OPT_SMART); + new_inl = handle_hyphen(subj, (options & CMARK_OPT_SMART) != 0); break; case '.': - new_inl = handle_period(subj, options & CMARK_OPT_SMART); + new_inl = handle_period(subj, (options & CMARK_OPT_SMART) != 0); break; case '[': advance(subj); |