[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.218 and 1.219

version 1.218, 2017/07/14 16:28:38 version 1.219, 2017/07/15 17:57:51
Line 624  print_otag(struct html *h, enum htmltag tag, const cha
Line 624  print_otag(struct html *h, enum htmltag tag, const cha
                         su = va_arg(ap, struct roffsu *);                          su = va_arg(ap, struct roffsu *);
                         break;                          break;
                 case 'w':                  case 'w':
                         if ((arg2 = va_arg(ap, char *)) == NULL) {                          if ((arg2 = va_arg(ap, char *)) != NULL) {
                                 if (*fmt == '+')                                  su = &mysu;
                                         fmt++;                                  a2width(arg2, su);
                                 if (*fmt == '-')  
                                         fmt++;  
                                 break;  
                         }                          }
                         su = &mysu;                          if (*fmt == '*') {
                         a2width(arg2, su);                                  if (su != NULL && su->unit == SCALE_EN &&
                                       su->scale > 5.9 && su->scale < 6.1)
                                           su = NULL;
                                   fmt++;
                           }
                         if (*fmt == '+') {                          if (*fmt == '+') {
                                 /* Increase to make even bold text fit. */                                  if (su != NULL) {
                                 su->scale *= 1.2;                                          /* Make even bold text fit. */
                                 /* Add padding. */                                          su->scale *= 1.2;
                                 su->scale += 3.0;                                          /* Add padding. */
                                           su->scale += 3.0;
                                   }
                                 fmt++;                                  fmt++;
                         }                          }
                         if (*fmt == '-') {                          if (*fmt == '-') {
                                 su->scale *= -1.0;                                  if (su != NULL)
                                           su->scale *= -1.0;
                                 fmt++;                                  fmt++;
                         }                          }
                         break;                          break;

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.219

CVSweb