[Bf-blender-cvs] [e2630f388d6] master: Cleanup: clang-format
Campbell Barton
noreply at git.blender.org
Tue Aug 6 19:38:28 CEST 2019
Commit: e2630f388d6f8c1eb8663300cf81244600c9ad39
Author: Campbell Barton
Date: Wed Aug 7 03:34:34 2019 +1000
Branches: master
https://developer.blender.org/rBe2630f388d6f8c1eb8663300cf81244600c9ad39
Cleanup: clang-format
===================================================================
M source/blender/blentranslation/msgfmt/msgfmt.c
M source/blender/makesrna/intern/rna_brush.c
===================================================================
diff --git a/source/blender/blentranslation/msgfmt/msgfmt.c b/source/blender/blentranslation/msgfmt/msgfmt.c
index 86d55e203d9..215c92f87de 100644
--- a/source/blender/blentranslation/msgfmt/msgfmt.c
+++ b/source/blender/blentranslation/msgfmt/msgfmt.c
@@ -82,12 +82,12 @@ static char *trim(char *str)
return str;
}
- for (i = 0; i < len && ELEM(str[0], ' ', '\t', '\r','\n'); str++, i++) {
+ for (i = 0; i < len && ELEM(str[0], ' ', '\t', '\r', '\n'); str++, i++) {
/* pass */
}
char *end = &str[len - 1 - i];
- for (i = len; i > 0 && ELEM(end[0], ' ', '\t', '\r','\n'); end--, i--) {
+ for (i = len; i > 0 && ELEM(end[0], ' ', '\t', '\r', '\n'); end--, i--) {
/* pass */
}
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 2484e432795..713ddfa0067 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1565,7 +1565,7 @@ static void rna_def_brush(BlenderRNA *brna)
{0, NULL, 0, NULL, NULL},
};
-static const EnumPropertyItem color_gradient_items[] = {
+ static const EnumPropertyItem color_gradient_items[] = {
{0, "COLOR", 0, "Color", "Paint with a single color"},
{BRUSH_USE_GRADIENT, "GRADIENT", 0, "Gradient", "Paint with a gradient"},
{0, NULL, 0, NULL, NULL},
More information about the Bf-blender-cvs
mailing list