diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-05-29 02:10:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-05-29 02:10:06 +0000 |
commit | 335dcde794aa72feb287a81b7d9fdeca9a559291 (patch) | |
tree | a3005f1b898101699724ec9a3513b52f7dbab565 | |
parent | a7c108f3a3f30b3c2098db6889340c86597d53bb (diff) |
Delete support for the print_otag(sw) * and - modifiers,
which are no longer used because we write fewer style= attributes.
-rw-r--r-- | usr.bin/mandoc/html.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c index 8442a0faa90..102af79e1b7 100644 --- a/usr.bin/mandoc/html.c +++ b/usr.bin/mandoc/html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: html.c,v 1.100 2018/05/28 14:12:35 schwarze Exp $ */ +/* $OpenBSD: html.c,v 1.101 2018/05/29 02:10:05 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -692,12 +692,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) su = &mysu; a2width(arg2, su); } - if (*fmt == '*') { - if (su != NULL && su->unit == SCALE_EN && - su->scale > 5.9 && su->scale < 6.1) - su = NULL; - fmt++; - } if (*fmt == '+') { if (su != NULL) { /* Make even bold text fit. */ @@ -707,11 +701,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) } fmt++; } - if (*fmt == '-') { - if (su != NULL) - su->scale *= -1.0; - fmt++; - } break; default: abort(); |