From 9a95a0003a52b37b9bcf866ce5f4eebe57e52b0f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 25 Jun 2018 14:13:54 +0000 Subject: Delete support for style=margin-left attributes, which are no longer used. --- html.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 8179e4fb..9d73fc7a 100644 --- a/html.c +++ b/html.c @@ -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 *); -- cgit