diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2004-02-09 20:26:27 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2004-02-09 20:26:27 +0000 |
| commit | eebee5a754f1bff32bf7d79691bbc94de5aaf801 (patch) | |
| tree | b226914a5c3f0d5befe2cbc9bde250e9873a2273 /usr.bin/indent | |
| parent | 59137ea8644727f5fbeab926e0558f2c09faa59a (diff) | |
Notes
Diffstat (limited to 'usr.bin/indent')
| -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 8878c7ebbf6a..bc132dcefcfb 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 */ |
