diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-06-25 14:13:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-06-25 14:13:54 +0000 |
commit | 43aad0f89789ab26d47deeb9bf1361069e817ce9 (patch) | |
tree | b5187edcdcac4bb816370720df717564cdb5a143 /html.c | |
parent | cab8a64b18366a08e39d04444e5378d33fa153ed (diff) | |
download | mandoc-43aad0f89789ab26d47deeb9bf1361069e817ce9.tar.gz mandoc-43aad0f89789ab26d47deeb9bf1361069e817ce9.tar.zst mandoc-43aad0f89789ab26d47deeb9bf1361069e817ce9.zip |
Delete support for style=margin-left attributes, which are no longer used.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.236 2018/06/25 14:00:28 schwarze Exp $ */ +/* $Id: html.c,v 1.237 2018/06/25 14:13:54 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -553,13 +553,13 @@ struct tag * print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) { va_list ap; - struct roffsu mysu, *su; + struct roffsu *su; char numbuf[16]; struct tag *t; const char *attr; char *arg1, *arg2; double v; - int i, have_style, tflags; + int have_style, tflags; tflags = htmltags[tag].flags; @@ -675,11 +675,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) /* First letter: input argument type. */ switch (*fmt++) { - case 'h': - i = va_arg(ap, int); - su = &mysu; - SCALE_HS_INIT(su, i); - break; case 's': arg1 = va_arg(ap, char *); break; @@ -696,9 +691,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) case 'h': attr = "height"; break; - case 'l': - attr = "margin-left"; - break; case '?': attr = arg1; arg1 = va_arg(ap, char *); |