summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-23 10:09:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-23 10:09:44 +0000
commitf2c1420553b275dd2f792b3a15c8fb0437f58052 (patch)
treec1109a2f134b2c85e5bd7ebc4ae79b5bb9d1e711
parent83592bae7b4cc86364128d1a37075c8d2ab3f14f (diff)
downloadmandoc-f2c1420553b275dd2f792b3a15c8fb0437f58052.tar.gz
fix typo in previous
-rw-r--r--mdoc_man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 505d274f..6995f872 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -434,7 +434,7 @@ print_offs(const char *v, int keywords)
sz = 6;
else if (keywords && !strcmp(v, "indent-two"))
sz = 12;
- else if (a2roffsu(v, &su, SCALE_EN) < 2) {
+ else if (a2roffsu(v, &su, SCALE_EN) > 1) {
if (SCALE_EN == su.unit)
sz = su.scale;
else {
@@ -481,7 +481,7 @@ print_width(const char *v, const struct mdoc_node *child, size_t defsz)
/* Convert v into a number (of characters). */
if (NULL == v)
sz = defsz;
- else if (a2roffsu(v, &su, SCALE_MAX) < 2) {
+ else if (a2roffsu(v, &su, SCALE_MAX) > 1) {
if (SCALE_EN == su.unit)
sz = su.scale;
else {