summaryrefslogtreecommitdiff
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 13:57:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 13:57:11 +0000
commit9b5c55802ec65f0af4b5fe8b5d1c5f4ed11b42ce (patch)
tree79d220ad72f94098f39acd7371444a1cea0edc77 /usr.bin/indent
parent3ecc796df5aba87e1e7f996fe030f734c9102a41 (diff)
misplaced break in the last
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/indent/args.c b/usr.bin/indent/args.c
index 839822acf79..1937fdda858 100644
--- a/usr.bin/indent/args.c
+++ b/usr.bin/indent/args.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: args.c,v 1.10 2002/10/04 15:31:17 mickey Exp $ */
+/* $OpenBSD: args.c,v 1.11 2002/10/07 13:57:10 mickey Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: args.c,v 1.10 2002/10/04 15:31:17 mickey Exp $";
+static char rcsid[] = "$OpenBSD: args.c,v 1.11 2002/10/07 13:57:10 mickey Exp $";
#endif /* not lint */
/*
@@ -310,10 +310,10 @@ found:
errx(1, "%s: ``%s'' requires a parameter", option_source, arg - 1);
}
*p->p_obj = atoi(param_start);
- break;
if (*p->p_name == 'i' && *p->p_obj <= 0)
errx(1, "%s: ``%s must be greater of zero''",
option_source, arg - 1);
+ break;
case PRO_FONT:
parsefont((struct fstate *) p->p_obj, param_start);