diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-28 08:48:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-28 08:48:42 +0400 |
commit | daa8fe9145295bcf1acc7f0e50ef698f9eb64095 (patch) | |
tree | b65c861a741457bff7e64b5ae8b52c4f1769a429 /source/blender/makesdna | |
parent | aab3f71b9db40f9d5b14ae86727bb64c2de3d827 (diff) | |
parent | 492d7ace57fbb405a4881ebce01d2f0358fe2e64 (diff) |
svn merge ^/trunk/blender -r47070:47099
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/intern/CMakeLists.txt | 1 | ||||
-rw-r--r-- | source/blender/makesdna/intern/dna_genfile.c | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 6 |
3 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/makesdna/intern/CMakeLists.txt b/source/blender/makesdna/intern/CMakeLists.txt index f8169d5038a..1dd1d7e8f87 100644 --- a/source/blender/makesdna/intern/CMakeLists.txt +++ b/source/blender/makesdna/intern/CMakeLists.txt @@ -1,4 +1,3 @@ -# -*- mode: cmake; indent-tabs-mode: t; -*- # ***** BEGIN GPL LICENSE BLOCK ***** # # This program is free software; you can redistribute it and/or 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 bce8f9bb2bc..b0f8f02ae9f 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -146,7 +146,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) */ @@ -910,7 +910,7 @@ void printStructLengths(void) printf("\n\n*** All detected structs:\n"); while (unknown) { - /*lastunknown= unknown;*/ /*UNUSED*/ + /*lastunknown = unknown;*/ /*UNUSED*/ unknown = 0; /* check all structs... */ @@ -1171,7 +1171,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); } |