formatting edits. (no functional changes)

This commit is contained in:
2011-03-03 05:42:16 +00:00
parent a18e1043e8
commit 5f5fb5061b

View File

@@ -4910,7 +4910,7 @@ PyObject *pyrna_struct_CreatePyObject( PointerRNA *ptr )
}
}
if( !pyrna ) {
if(pyrna == NULL) {
PyErr_SetString(PyExc_MemoryError, "couldn't create bpy_struct object");
return NULL;
}
@@ -4961,7 +4961,7 @@ PyObject *pyrna_prop_CreatePyObject( PointerRNA *ptr, PropertyRNA *prop )
#endif
}
if( !pyrna ) {
if(pyrna == NULL) {
PyErr_SetString(PyExc_MemoryError, "couldn't create BPy_rna object");
return NULL;
}