diff options
-rw-r--r-- | html.c | 12 | ||||
-rw-r--r-- | mandoc_html.3 | 9 |
2 files changed, 2 insertions, 19 deletions
@@ -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 *); diff --git a/mandoc_html.3 b/mandoc_html.3 index 732575fa..31547ad4 100644 --- a/mandoc_html.3 +++ b/mandoc_html.3 @@ -220,11 +220,6 @@ argument type letters and style name letters. .Pp Argument type letters each require one argument as follows: .Bl -tag -width 1n -offset indent -.It Cm h -Requires one -.Vt int -argument, interpreted as a horizontal length in units of -.Dv SCALE_EN . .It Cm s Requires one .Vt char * @@ -237,10 +232,6 @@ argument, used as a length. .Pp Style name letters decide what to do with the preceding argument: .Bl -tag -width 1n -offset indent -.It Cm l -Set -.Cm margin-left -to the given length. .It Cm \&? The special pair .Cm s? |