diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:16:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:17:13 +0300 |
commit | 108045faa01849115c54190ebed788faf36dcb56 (patch) | |
tree | 64d024b47b0dcb6850108377c55e96917645efe5 /intern/utfconv/utfconv.c | |
parent | 3076d95ba441cd32706a27d18922a30f8fd28b8a (diff) |
ClangFormat: format '#if 0' code in intern/
Diffstat (limited to 'intern/utfconv/utfconv.c')
-rw-r--r-- | intern/utfconv/utfconv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/utfconv/utfconv.c b/intern/utfconv/utfconv.c index 1dd868b8170..4a098f2595c 100644 --- a/intern/utfconv/utfconv.c +++ b/intern/utfconv/utfconv.c @@ -265,7 +265,8 @@ int conv_utf_8_to_16(const char *in8, wchar_t *out16, size_t size16) static int is_ascii(const char *in8) { for (; *in8; in8++) - if (0x80 & *in8) return 0; + if (0x80 & *in8) + return 0; return 1; } @@ -274,7 +275,8 @@ static void utf_8_cut_end(char *inout8, size_t maxcutpoint) { char *cur = inout8 + maxcutpoint; char cc; - if (!inout8) return; + if (!inout8) + return; cc = *cur; } |