Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-17 13:58:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-17 13:58:26 +0400
commitf5f25b81e8963aeba0a4c09f09358de070e0f927 (patch)
treec7fd6345d3a372845a0621e90087f88c90e4b8b8 /intern/elbeem
parent245c94a75e60c2c0b58c1f39d189258e2e424e29 (diff)
style cleanup:
also fix for building ghost test and fix double free in one of the tests
Diffstat (limited to 'intern/elbeem')
-rw-r--r--intern/elbeem/intern/controlparticles.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/elbeem/intern/controlparticles.cpp b/intern/elbeem/intern/controlparticles.cpp
index 7f43ba60614..526fac0cc6b 100644
--- a/intern/elbeem/intern/controlparticles.cpp
+++ b/intern/elbeem/intern/controlparticles.cpp
@@ -665,11 +665,11 @@ int ControlParticles::initFromBinaryFile(string filename) {
int ptype=0;
float psize=0.0;
ntlVec3Gfx ppos,pvel;
- gzread(gzf, &ptype, sizeof( ptype ));
- gzread(gzf, &psize, sizeof( float ));
+ gzread(gzf, &ptype, sizeof(ptype));
+ gzread(gzf, &psize, sizeof(float));
- for(int j=0; j<3; j++) { gzread(gzf, &ppos[j], sizeof( float )); }
- for(int j=0; j<3; j++) { gzread(gzf, &pvel[j], sizeof( float )); }
+ for (int j=0; j<3; j++) { gzread(gzf, &ppos[j], sizeof(float)); }
+ for (int j=0; j<3; j++) { gzread(gzf, &pvel[j], sizeof(float)); }
ControlParticle p;
p.reset();