From: schwarze Date: Tue, 23 Dec 2014 10:09:23 +0000 (+0000) Subject: fix typo in previous X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec252301ed4586bf0383c96ff1a0b77cd6e6fa7c;p=openbsd fix typo in previous --- diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index 30799cd4c7a..5151b3a4b00 100644 --- a/usr.bin/mandoc/mdoc_man.c +++ b/usr.bin/mandoc/mdoc_man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_man.c,v 1.76 2014/12/23 09:31:17 schwarze Exp $ */ +/* $OpenBSD: mdoc_man.c,v 1.77 2014/12/23 10:09:23 schwarze Exp $ */ /* * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze * @@ -432,7 +432,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 { @@ -479,7 +479,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 {