Format all code with new clang-format
This commit is contained in:
@@ -559,13 +559,12 @@ int32_t format_core(PPCContext* ppc_context, FormatData& data, ArgList& args,
|
||||
|
||||
if (!is_wide) {
|
||||
length = 0;
|
||||
for (auto s = (const uint8_t *)str; cap > 0 && *s; ++s, cap--) {
|
||||
for (auto s = (const uint8_t*)str; cap > 0 && *s; ++s, cap--) {
|
||||
length++;
|
||||
}
|
||||
} else {
|
||||
length = 0;
|
||||
for (auto s = (const uint16_t *)str; cap > 0 && *s;
|
||||
++s, cap--) {
|
||||
for (auto s = (const uint16_t*)str; cap > 0 && *s; ++s, cap--) {
|
||||
length++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user