Skip to content

Commit

Permalink
Fix for clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tats-u committed Aug 18, 2024
1 parent 6a91450 commit 640d0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inlines.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static int scan_delims(subject *subj, unsigned char c, bool *can_open,
if (len == -1) {
before_char = 10;
}
if ((before_char >> 4) == 0xfe0 && (before_char >= 0xfe00 && before_char <= 0xfe02 || before_char == 0xfe0e)) {
if ((before_char >> 4) == 0xfe0 && ((before_char >= 0xfe00 && before_char <= 0xfe02) || before_char == 0xfe0e)) {
// standard variation selector, go back one more code point:
// U+FE00..U+FE02: can follow a ideograph
// U+FE0E: forces the previous character to be rendered as not emoji but text (e.g. U+303D, U+3297)
Expand Down

0 comments on commit 640d0ab

Please sign in to comment.