summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-14 18:37:42 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-14 18:37:42 -0800
commit7c92577bbb670ddfbf6df5ee4b931c27548230cc (patch)
tree87ae4ffbfc2f1dc60ed1019067e505d8d92bb6dd /src/inlines.c
parenta27cf939b21e2a73ddd49dde942b66f7ca85abdc (diff)
astyle changes (code formatting only).
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 2c12408..249e391 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -279,13 +279,13 @@ scan_delims(subject* subj, unsigned char c, bool * can_open, bool * can_close)
after_char = 10;
}
left_flanking = numdelims > 0 && !utf8proc_is_space(after_char) &&
- !(utf8proc_is_punctuation(after_char) &&
- !utf8proc_is_space(before_char) &&
- !utf8proc_is_punctuation(before_char));
+ !(utf8proc_is_punctuation(after_char) &&
+ !utf8proc_is_space(before_char) &&
+ !utf8proc_is_punctuation(before_char));
right_flanking = numdelims > 0 && !utf8proc_is_space(before_char) &&
- !(utf8proc_is_punctuation(before_char) &&
- !utf8proc_is_space(after_char) &&
- !utf8proc_is_punctuation(after_char));
+ !(utf8proc_is_punctuation(before_char) &&
+ !utf8proc_is_space(after_char) &&
+ !utf8proc_is_punctuation(after_char));
if (c == '_') {
*can_open = left_flanking && !right_flanking;
*can_close = right_flanking && !left_flanking;