indent(1): correctly handle case/label at the very start of a function

Obtained from:	NetBSD (rev. 1.11 of indent.c)
MFC after:	1 week
This commit is contained in:
Andriy Gapon
2010-03-31 16:55:47 +00:00
parent 772aec19a1
commit 6953f51a9d
+1 -1
View File
@@ -675,7 +675,7 @@ main(int argc, char **argv)
ps.want_blank = true;
break;
}
if (ps.in_decl) {
if (ps.in_or_st) {
*e_code++ = ':';
ps.want_blank = false;
break;