diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/intern/dna_genfile.c | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 6 |
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); } |