style cleanup
[blender.git] / source / blender / makesrna / intern / makesrna.c
index fa6b555656585b429e954e68e3590439c5128295..9fa4d73cead8e5a51cde730bc26a1d891d6f99f7 100644 (file)
@@ -821,7 +821,7 @@ static char *rna_def_property_set_func(FILE *f, StructRNA *srna, PropertyRNA *pr
 
                                if (prop->flag & PROP_ID_SELF_CHECK) {
                                        rna_print_id_get(f, dp);
-                                       fprintf(f, "    if (id==value.data) return;\n\n");
+                                       fprintf(f, "    if (id == value.data) return;\n\n");
                                }
 
                                if (prop->flag & PROP_ID_REFCOUNT) {