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-05-27 23:40:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-27 23:40:36 +0400
commitb33f0ef0e3c12fcb57217d1653e60aa957b938fc (patch)
treea8fc31f587031627ca59a1e842ce05f1096e3e6a /source/blender/makesdna
parent295aa880e96602885e43993d3604d9c7330b9084 (diff)
style cleanup
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/intern/dna_genfile.c2
-rw-r--r--source/blender/makesdna/intern/makesdna.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c
index 231dd521f07..2498cba42ef 100644
--- a/source/blender/makesdna/intern/dna_genfile.c
+++ b/source/blender/makesdna/intern/dna_genfile.c
@@ -93,7 +93,7 @@ typedef long long __int64;
* !!Remember to read/write integer and short aligned!!
*
* While writing a file, the names of a struct is indicated with a type number,
- * to be found with: type= findstruct_nr(SDNA *, char *)
+ * to be found with: type = findstruct_nr(SDNA *, char *)
* The value of 'type' corresponds with the the index within the structs array
*
* For the moment: the complete DNA file is included in a .blend file. For
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 548e81a7fc8..0191847706a 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -145,7 +145,7 @@ static char **names, *namedata; /* at address names[a] is string a */
static char **types, *typedata; /* at address types[a] is string a */
static short *typelens; /* at typelens[a] is de length of type a */
static short *alphalens; /* contains sizes as they are calculated on the DEC Alpha (64 bits), in fact any 64bit system */
-static short **structs, *structdata; /* at sp= structs[a] is the first address of a struct definition
+static short **structs, *structdata; /* at sp = structs[a] is the first address of a struct definition
* sp[0] is type number
* sp[1] is amount of elements
* sp[2] sp[3] is typenr, namenr (etc) */
@@ -909,7 +909,7 @@ void printStructLengths(void)
printf("\n\n*** All detected structs:\n");
while (unknown) {
- /*lastunknown= unknown;*/ /*UNUSED*/
+ /*lastunknown = unknown;*/ /*UNUSED*/
unknown = 0;
/* check all structs... */
@@ -1170,7 +1170,7 @@ int main(int argc, char **argv)
}
else {
fprintf(file, "};\n");
- fprintf(file, "int DNAlen= sizeof(DNAstr);\n");
+ fprintf(file, "int DNAlen = sizeof(DNAstr);\n");
fclose(file);
}