summaryrefslogtreecommitdiff
path: root/contrib/uncrustify.cfg
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-03-16 10:19:10 +0000
committerng0 <ng0@n0.is>2019-03-16 10:19:10 +0000
commit1d2b751c50be84f41a5ce1911f2b641933ca7651 (patch)
treeb98cbd9846ce9b7867de749031d36c91d0f3dc04 /contrib/uncrustify.cfg
parent448d7d879fda949fbb04374039c3778fe150fcd7 (diff)
Adjust uncrustify.cfg
Diffstat (limited to 'contrib/uncrustify.cfg')
-rw-r--r--contrib/uncrustify.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg
index 4f15b89ed..a5b78fb7e 100644
--- a/contrib/uncrustify.cfg
+++ b/contrib/uncrustify.cfg
@@ -11,8 +11,8 @@ indent_brace = 2
nl_enum_brace = remove # "enum {" vs "enum \n {"
nl_union_brace = remove # "union {" vs "union \n {"
nl_struct_brace = remove # "struct {" vs "struct \n {"
-nl_do_brace = add # "do {" vs "do \n {"
-nl_if_brace = add # "if () {" vs "if () \n {"
+nl_do_brace = add # "do {" vs "do \n {"
+nl_if_brace = add # "if () {" vs "if () \n {"
nl_for_brace = add # "for () {" vs "for () \n {"
nl_else_brace = add # "else {" vs "else \n {"
nl_while_brace = add # "while () {" vs "while () \n {"
@@ -22,7 +22,7 @@ nl_before_case = 1
nl_fcall_brace = add # "foo() {" vs "foo()\n{"
nl_fdef_brace = add # "int foo() {" vs "int foo()\n{"
# nl_after_return = TRUE
-nl_brace_while = remove
+nl_brace_while = add
nl_brace_else = add
nl_squeeze_ifdef = TRUE