From db87815c123eeb7f7ad0ddc23157b7497526a598 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 9 Feb 2004 20:26:27 +0000 Subject: Backed out a part of previous commit that wasn;t mentioned in the log message and wasn't quite ready (it avoided indenting the names of local variables). --- usr.bin/indent/indent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/indent/indent.c') 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 */ -- cgit v1.1