summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-13 15:06:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-13 15:06:56 +0000
commit03afb37cb14e16b26a47195f3bc47f1960313760 (patch)
tree1fa09d8864550c0e91dcbfed3a83c8b47b45d7f3 /manpath.c
parentd97f88fdc3356f92e109b2c0e9f7750f5e797810 (diff)
downloadmandoc-03afb37cb14e16b26a47195f3bc47f1960313760.tar.gz
Delete the arbitrary range restriction for -Owidth.
We provide users with tools. We don't attempt to prevent them from using them in stupid ways: depending on the context, not every stupid-looking use is necessarily actually stupid, and not every stupidity can be automatically detected anyway, so don't even try.
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index f0f934ac..fa0791ba 100644
--- a/manpath.c
+++ b/manpath.c
@@ -299,7 +299,7 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile)
mandoc_asprintf(&oldval, "%zu", conf->width);
break;
}
- conf->width = strtonum(cp, 58, 1000, &errstr);
+ conf->width = strtonum(cp, 1, 1000, &errstr);
if (errstr == NULL)
return 0;
warnx("-O width=%s is %s", cp, errstr);