diff options
author | bde <bde@FreeBSD.org> | 2004-02-09 20:26:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-02-09 20:26:27 +0000 |
commit | db87815c123eeb7f7ad0ddc23157b7497526a598 (patch) | |
tree | b226914a5c3f0d5befe2cbc9bde250e9873a2273 /usr.bin | |
parent | 5e5b84d04c94f245fb4d84e7ce86a68560071891 (diff) | |
download | FreeBSD-src-db87815c123eeb7f7ad0ddc23157b7497526a598.zip FreeBSD-src-db87815c123eeb7f7ad0ddc23157b7497526a598.tar.gz |
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).
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/indent/indent.c | 3 |
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 */ |