Cleanup: style

This commit is contained in:
2015-06-17 07:06:59 +10:00
parent 2689247f98
commit ecdbe3cc63
10 changed files with 23 additions and 21 deletions

View File

@@ -118,7 +118,7 @@ static char *gpu_str_skip_token(char *str, char *token, int max)
if (ELEM(*str, ' ', '(', ')', ',', '\t', '\n', '\r'))
break;
else {
if (token && len < max-1) {
if (token && len < max - 1) {
*token = *str;
token++;
len++;
@@ -238,7 +238,7 @@ static char *gpu_generate_function_prototyps(GHash *hash)
BLI_dynstr_appendf(ds, " param%d", a);
# endif
if (a != function->totparam-1)
if (a != function->totparam - 1)
BLI_dynstr_append(ds, ", ");
}
BLI_dynstr_append(ds, ");\n");