diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-23 13:48:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-23 13:48:57 +0000 |
commit | e98af5414161553ffd7b765ad3a2451626334232 (patch) | |
tree | 71e081d88f9d7e31540b032aa105d2794f17c438 /out.c | |
parent | ff9ffdaa32c8d8843620079281b5c445b548babc (diff) | |
download | mandoc-e98af5414161553ffd7b765ad3a2451626334232.tar.gz mandoc-e98af5414161553ffd7b765ad3a2451626334232.tar.zst mandoc-e98af5414161553ffd7b765ad3a2451626334232.zip |
support negative horizontal widths in man(7);
minus twenty lines of code in spite of enhanced functionality
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.56 2014/12/23 09:31:46 schwarze Exp $ */ +/* $Id: out.c,v 1.57 2014/12/23 13:48:57 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -94,9 +94,6 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def) break; } - /* FIXME: do this in the caller. */ - if (dst->scale < 0.0) - dst->scale = 0.0; return(*endptr == '\0' ? 2 : 1); } |