diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-13 15:06:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-13 15:06:56 +0000 |
commit | 03afb37cb14e16b26a47195f3bc47f1960313760 (patch) | |
tree | 1fa09d8864550c0e91dcbfed3a83c8b47b45d7f3 /manpath.c | |
parent | d97f88fdc3356f92e109b2c0e9f7750f5e797810 (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |