style cleanup: follow style guide for formatting of if/for/while loops, and else if's

This commit is contained in:
2012-03-24 06:24:53 +00:00
parent 69e6894b15
commit 5a90ea77bc
90 changed files with 2501 additions and 2337 deletions

View File

@@ -6086,7 +6086,7 @@ static PyObject *pyrna_srna_Subtype(StructRNA *srna)
}
/* always use O not N when calling, N causes refcount errors */
newclass = PyObject_CallFunction(metaclass, (char *)"s(O){sss()}",
newclass = PyObject_CallFunction(metaclass, (char *)"s(O) {sss()}",
idname, py_base, "__module__","bpy.types", "__slots__");
/* newclass will now have 2 ref's, ???, probably 1 is internal since decrefing here segfaults */