From 7bd1e5345183f3e9bf59b47fdd8acba80001e10a Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Sun, 17 Mar 2024 12:02:44 -0400 Subject: [PATCH] Fix formatting of is_lead_byte and is_trail_byte macros --- src/transcription-filter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transcription-filter.cpp b/src/transcription-filter.cpp index 33c20ca..481e860 100644 --- a/src/transcription-filter.cpp +++ b/src/transcription-filter.cpp @@ -184,8 +184,8 @@ void acquire_weak_text_source_ref(struct transcription_filter_data *gf) } } -#define is_lead_byte(c) (((c) & 0xe0) == 0xc0 || ((c) & 0xf0) == 0xe0 || ((c) & 0xf8) == 0xf0) -#define is_trail_byte(c) (((c) & 0xc0) == 0x80) +#define is_lead_byte(c) (((c)&0xe0) == 0xc0 || ((c)&0xf0) == 0xe0 || ((c)&0xf8) == 0xf0) +#define is_trail_byte(c) (((c)&0xc0) == 0x80) inline int lead_byte_length(const uint8_t c) {