summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c12
1 files changed, 2 insertions, 10 deletions
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 *);