diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-04 23:28:20 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-04 23:28:20 +0200 |
commit | bd5a2308f2873c6b28527d5cebd2d2d160ebf9ba (patch) | |
tree | 06e7cd4eff506eb14084d4fac9062100e13adf6a /lib/unicode/string/u8title.c | |
parent | f7c38329d5737b2850021b67cb39447ad15b4439 (diff) |
Formatting
Diffstat (limited to 'lib/unicode/string/u8title.c')
-rw-r--r-- | lib/unicode/string/u8title.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/unicode/string/u8title.c b/lib/unicode/string/u8title.c index 53855b6..45bb37c 100644 --- a/lib/unicode/string/u8title.c +++ b/lib/unicode/string/u8title.c @@ -112,16 +112,16 @@ u8title(size_t *dstn, struct u8view sv, enum caseflags flags, alloc_fn alloc, rune next = 0; if (sv.len > 0) u8tor(&next, sv.p); - nl_IJ = - (ch == 'i' || ch == 'I') && (next == 'j' || next == 'J'); + nl_IJ = (ch == 'i' || ch == 'I') + && (next == 'j' || next == 'J'); } } for (size_t i = 0; i < rv.len; i++) n += rtou8(dst + n, bufsz - n, rv.p[i]); - ctx_l.after_I = - (ch == 'I') || (ctx_l.after_I && !uprop_ccc_0_or_230(ch)); + ctx_l.after_I = (ch == 'I') + || (ctx_l.after_I && !uprop_ccc_0_or_230(ch)); if (uprop_is_cased(ch)) final_sigma.before = true; else if (!uprop_is_ci(ch)) |