diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-25 05:45:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-25 05:45:53 +0400 |
commit | 885bbe699976318a6d90441d46dc0cd43e16d4a2 (patch) | |
tree | 6d5994314d0f5035674ba3dde0cc1a264abe5bb6 /source/blender/makesdna | |
parent | 9d97123f90bbe0f7fed9f7cd0b000e1a3f9a610a (diff) |
from Luca's recent commit noticed there are more typo's: lenght -> length
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 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c index c7b86d1e502..fd98fd4ef08 100644 --- a/source/blender/makesdna/intern/dna_genfile.c +++ b/source/blender/makesdna/intern/dna_genfile.c @@ -110,7 +110,7 @@ DONE: - pointer conversion (32-64 bits) IMPORTANT: - - do not use #defines in structs for array lenghts, this cannot be read by the dna functions + - do not use #defines in structs for array lengths, this cannot be read by the dna functions - do not use uint, but unsigned int instead, ushort and ulong are allowed - only use a long in Blender if you want this to be the size of a pointer. so it is 32 bits or 64 bits, dependant at the cpu architecture diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 15c6bbd202c..15ac26273af 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -203,7 +203,7 @@ static int calculate_structlens(int); void dna_write(FILE *file, void *pntr, int size); /** - * Report all structures found so far, and print their lenghts. + * Report all structures found so far, and print their lengths. */ void printStructLenghts(void); |