From: Martin Taibr Date: Sat, 23 Sep 2017 02:41:22 +0000 (+0200) Subject: remove newline between switch and { as other control statements X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1cfa26bff0e3f63ec5641768aeb1a7439ffe1256;p=xonotic%2Fxonotic-data.pk3dir.git remove newline between switch and { as other control statements --- diff --git a/qcsrc/uncrustify.cfg b/qcsrc/uncrustify.cfg index 18fadc7b0..0bcab10d6 100644 --- a/qcsrc/uncrustify.cfg +++ b/qcsrc/uncrustify.cfg @@ -1194,7 +1194,7 @@ nl_brace_while = remove # ignore/add/remove/force #f # Add or remove newline between 'switch' and '{' # NOTE: is 24 worse than ignore -nl_switch_brace = add # ignore/add/remove/force +nl_switch_brace = remove # ignore/add/remove/force # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc. # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch, and nl_catch_brace.