Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Berger <martijn.berger@gmail.com>2015-10-28 00:11:14 +0300
committerMartijn Berger <martijn.berger@gmail.com>2015-10-28 00:11:33 +0300
commit25b99b1922586386b89f19fe1f3f93d8a21869cd (patch)
treea9df05ed3f6311cffa6f865bd451e7533141e971 /source/blender/makesrna/intern/makesrna.c
parent68f677e655e35293e173d779fab0eeaddfc166e6 (diff)
Fix makesrna generated C++ header have consistent whitespace for strings.
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r--source/blender/makesrna/intern/makesrna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index e887397f4d7..887124fc486 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -1795,7 +1795,7 @@ static void rna_def_property_funcs_header_cpp(FILE *f, StructRNA *srna, Property
}
case PROP_STRING:
{
- fprintf(f, "\tinline std::string %s(void);", rna_safe_id(prop->identifier));
+ fprintf(f, "\tinline std::string %s(void);\n", rna_safe_id(prop->identifier));
fprintf(f, "\tinline void %s(const std::string& value);", rna_safe_id(prop->identifier));
break;
}