summaryrefslogtreecommitdiff
path: root/usr.bin/indent
diff options
context:
space:
mode:
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);