From 1b77b3206799accd714dfcfe5e1d600716383372 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 29 May 2018 02:10:10 +0000 Subject: Delete support for the print_otag(sw) * and - modifiers, which are no longer used because we write fewer style= attributes. --- html.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 709c43fa..0d6b67ce 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.230 2018/05/28 14:13:36 schwarze Exp $ */ +/* $Id: html.c,v 1.231 2018/05/29 02:10:10 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze @@ -694,12 +694,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. */ @@ -709,11 +703,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(); -- cgit v1.2.3