Cleanup: code-style, duplicate header
[blender.git] / source / blender / makesrna / intern / rna_define.c
index dc97d39052b4f90257de06b9a466f4efb222e42e..1d232d2df3941992acdba79f9a687dcec2b7deed 100644 (file)
@@ -3157,8 +3157,9 @@ int rna_parameter_size(PropertyRNA *parm)
                                        StringPropertyRNA *sparm = (StringPropertyRNA *)parm;
                                        return sizeof(char) * sparm->maxlength;
                                }
-                               else
+                               else {
                                        return sizeof(char *);
+                               }
                        case PROP_POINTER:
                        {
 #ifdef RNA_RUNTIME