diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:50:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:52:59 +0300 |
commit | a54bdd76cb34005d07a65c2c3a8198b7b8e8c95a (patch) | |
tree | c30e2477cc3c12b1dd046f4fd12c728114c94563 /source/blender/editors/physics | |
parent | 223f9310955f6b0d6f1089c16802a57e20fcadb3 (diff) |
ClangFormat: format '#if 0' code
Previous cleanups didn't account for space after '#'.
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index 2769d1a9dc3..65fb58efe6d 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -185,16 +185,18 @@ static void fluidsimPrintChannel(FILE *file, float *channel, int paramsize, char } fprintf(file, " CHANNEL %s =\n", str); - for (i=0; i < channelSize; i++) { + for (i = 0; i < channelSize; i++) { fprintf(file, " "); - for (j=0;j <= entries;j++) { // also print time value - fprintf(file, " %f ", channel[i*(entries + 1) + j]); - if (j == entries-1) { fprintf(file, " "); } + for (j = 0; j <= entries; j++) { // also print time value + fprintf(file, " %f ", channel[i * (entries + 1) + j]); + if (j == entries - 1) { + fprintf(file, " "); + } } fprintf(file, "\n"); } - fprintf(file, " ;\n"); + fprintf(file, " ;\n"); } # endif |