version 1.216, 2017/07/14 15:56:37 |
version 1.217, 2017/07/14 16:06:44 |
Line 623 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 623 print_otag(struct html *h, enum htmltag tag, const cha |
|
case 'u': |
case 'u': |
su = va_arg(ap, struct roffsu *); |
su = va_arg(ap, struct roffsu *); |
break; |
break; |
case 'v': |
|
i = va_arg(ap, int); |
|
su = &mysu; |
|
SCALE_VS_INIT(su, i); |
|
break; |
|
case 'w': |
case 'w': |
if ((arg2 = va_arg(ap, char *)) == NULL) |
if ((arg2 = va_arg(ap, char *)) == NULL) |
break; |
break; |
Line 652 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 647 print_otag(struct html *h, enum htmltag tag, const cha |
|
/* Second letter: style name. */ |
/* Second letter: style name. */ |
|
|
switch (*fmt++) { |
switch (*fmt++) { |
case 'b': |
|
attr = "margin-bottom"; |
|
break; |
|
case 'h': |
case 'h': |
attr = "height"; |
attr = "height"; |
break; |
break; |
Line 663 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 655 print_otag(struct html *h, enum htmltag tag, const cha |
|
break; |
break; |
case 'l': |
case 'l': |
attr = "margin-left"; |
attr = "margin-left"; |
break; |
|
case 't': |
|
attr = "margin-top"; |
|
break; |
break; |
case 'w': |
case 'w': |
attr = "width"; |
attr = "width"; |