Updating to the latest clang-format. Make sure to update yourselves!
This commit is contained in:
@@ -536,12 +536,13 @@ 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