summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/indent/indent.c')
-rw-r--r--usr.bin/indent/indent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c
index 8878c7e..bc132dc 100644
--- a/usr.bin/indent/indent.c
+++ b/usr.bin/indent/indent.c
@@ -909,8 +909,7 @@ check_type:
* dec_ind = e_code - s_code + (ps.decl_indent>i ? ps.decl_indent
* : i);
*/
- dec_ind = ps.decl_indent > 0 &&
- (ps.ind_level == 0 || ps.dec_nest > 0) ? ps.decl_indent : i;
+ dec_ind = ps.decl_indent > 0 ? ps.decl_indent : i;
goto copy_id;
case ident: /* got an identifier or constant */
OpenPOWER on IntegriCloud