diff options
author | 2014-12-23 10:09:44 +0000 | |
---|---|---|
committer | 2014-12-23 10:09:44 +0000 | |
commit | ff9ffdaa32c8d8843620079281b5c445b548babc (patch) | |
tree | 9d6c696b3ded064ba481baf93a7cebbc40f9eae3 | |
parent | b746353a05b8aa9d139a3058dfc846eb7c978997 (diff) | |
download | mandoc-ff9ffdaa32c8d8843620079281b5c445b548babc.tar.gz mandoc-ff9ffdaa32c8d8843620079281b5c445b548babc.tar.zst mandoc-ff9ffdaa32c8d8843620079281b5c445b548babc.zip |
fix typo in previous
-rw-r--r-- | mdoc_man.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.78 2014/12/23 09:31:46 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.79 2014/12/23 10:09:44 schwarze Exp $ */ /* * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> * @@ -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 { |