aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-23 13:48:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-23 13:48:57 +0000
commite98af5414161553ffd7b765ad3a2451626334232 (patch)
tree71e081d88f9d7e31540b032aa105d2794f17c438 /out.c
parentff9ffdaa32c8d8843620079281b5c445b548babc (diff)
downloadmandoc-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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/out.c b/out.c
index f833677e..cebe52b6 100644
--- a/out.c
+++ b/out.c
@@ -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);
}