diff options
author | avg <avg@FreeBSD.org> | 2010-04-07 22:19:46 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-04-07 22:19:46 +0000 |
commit | ab791997555479fcc6043b78d958403876fb34eb (patch) | |
tree | 78f3c63d4c049e91ac228dec1f90a6eeb429997f /usr.bin | |
parent | 63b71b3d0a63ac9820c0271b5185a8ad5cbc6341 (diff) | |
download | FreeBSD-src-ab791997555479fcc6043b78d958403876fb34eb.zip FreeBSD-src-ab791997555479fcc6043b78d958403876fb34eb.tar.gz |
MFC r205988: indent(1): correctly handle case/label at the very start of a function
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/indent/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c index 9917960..7820ebe 100644 --- a/usr.bin/indent/indent.c +++ b/usr.bin/indent/indent.c @@ -675,7 +675,7 @@ check_type: ps.want_blank = true; break; } - if (ps.in_decl) { + if (ps.in_or_st) { *e_code++ = ':'; ps.want_blank = false; break; |