[MPlayer-dev-eng] [PATCH 2/5] More tolerant uncrustify profile

Clément Bœsch ubitux at gmail.com
Sat Apr 16 00:02:50 CEST 2011


The threshold wasn't enough for some alignment in mplayer.c for example,
and a lot of comments where truncated due to the force space setting.
---
 TOOLS/mp-uncrustify-style.cfg |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TOOLS/mp-uncrustify-style.cfg b/TOOLS/mp-uncrustify-style.cfg
index e68e6f6..622a086 100644
--- a/TOOLS/mp-uncrustify-style.cfg
+++ b/TOOLS/mp-uncrustify-style.cfg
@@ -606,7 +606,7 @@ sp_case_label                            = ignore   # ignore/add/remove/force
 sp_range                                 = ignore   # ignore/add/remove/force
 
 # Control the space after the opening of a C++ comment '// A' vs '//A'
-sp_cmt_cpp_start                         = force    # ignore/add/remove/force
+sp_cmt_cpp_start                         = ignore   # ignore/add/remove/force
 
 # Controls the spaces between #else or #endif and a trailing comment
 sp_endif_cmt                             = ignore   # ignore/add/remove/force
@@ -668,7 +668,7 @@ align_var_def_inline                     = false    # false/true
 align_assign_span                        = 1        # number
 
 # The threshold for aligning on '=' in assignments (0=no limit)
-align_assign_thresh                      = 6        # number
+align_assign_thresh                      = 12       # number
 
 # The span for aligning on '=' in enums (0=don't align)
 align_enum_equ_span                      = 1        # number
-- 
1.7.4.4



More information about the MPlayer-dev-eng mailing list