Fix formatting of is_lead_byte and is_trail_byte macros

This commit is contained in:
Roy Shilkrot
2024-03-17 12:02:44 -04:00
parent c74562448f
commit 7bd1e53451

View File

@@ -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)
{