diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-17 00:06:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-17 00:06:59 +0300 |
commit | ecdbe3cc6351bd5f59b0052289419a0337047574 (patch) | |
tree | 63b750ba53ce35995e219c1e3193c14e583ce461 /source/blender/gpu | |
parent | 2689247f980ad4076cec70096969e092d401a133 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 8f07df5d3d1..68e268cbc4f 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -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"); |