summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-04-07 22:19:46 +0000
committeravg <avg@FreeBSD.org>2010-04-07 22:19:46 +0000
commitab791997555479fcc6043b78d958403876fb34eb (patch)
tree78f3c63d4c049e91ac228dec1f90a6eeb429997f /usr.bin
parent63b71b3d0a63ac9820c0271b5185a8ad5cbc6341 (diff)
downloadFreeBSD-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.c2
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;
OpenPOWER on IntegriCloud