diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-03 14:28:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-03 14:28:28 +0400 |
commit | 89bda7899d09f0ece87e477eff1290bd134a57cb (patch) | |
tree | 95ffe9acdc1e5d5443bf4037a5301416a3c8fadc /source/blender/makesrna | |
parent | 2cfe44cc94b42ed21dcb8c61d7b5c0f2cb9c9d68 (diff) |
style cleanup & some spelling
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 11a2d947313..adfb096b25f 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -3153,10 +3153,10 @@ static int rna_property_array_length_all_dimensions(PointerRNA *ptr, PropertyRNA const int dim = RNA_property_array_dimension(ptr, prop, len); int size; - if(dim == 0) + if (dim == 0) return 0; - for(size = 1, i = 0; i < dim; i++) + for (size = 1, i = 0; i < dim; i++) size *= len[i]; return size; @@ -3197,7 +3197,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro } /* dynamic array? need to get length per item */ - if(itemprop->getlength) { + if (itemprop->getlength) { itemprop = NULL; } /* try to access as raw array */ |