Updating to the latest clang-format. Make sure to update yourselves!

This commit is contained in:
Ben Vanik
2015-09-22 08:26:19 -07:00
parent 2298fa8048
commit ee92f75a84
4 changed files with 58 additions and 58 deletions

View File

@@ -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++;
}
}