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

Diff for /mandoc/man_html.c between version 1.141 and 1.143

version 1.141, 2017/05/05 15:17:32 version 1.143, 2017/06/08 12:54:58
Line 251  print_man_node(MAN_ARGS)
Line 251  print_man_node(MAN_ARGS)
         case ROFFT_TEXT:          case ROFFT_TEXT:
                 if (fillmode(h, want_fillmode) == MAN_fi &&                  if (fillmode(h, want_fillmode) == MAN_fi &&
                     want_fillmode == MAN_fi &&                      want_fillmode == MAN_fi &&
                     n->flags & NODE_LINE && *n->string == ' ')                      n->flags & NODE_LINE && *n->string == ' ' &&
                       (h->flags & HTML_NONEWLINE) == 0)
                         print_otag(h, TAG_BR, "");                          print_otag(h, TAG_BR, "");
                 if (*n->string != '\0')                  if (*n->string != '\0')
                         break;                          break;
Line 357  fillmode(struct html *h, int want)
Line 358  fillmode(struct html *h, int want)
 static int  static int
 a2width(const struct roff_node *n, struct roffsu *su)  a2width(const struct roff_node *n, struct roffsu *su)
 {  {
   
         if (n->type != ROFFT_TEXT)          if (n->type != ROFFT_TEXT)
                 return 0;                  return 0;
         if (a2roffsu(n->string, su, SCALE_EN))          return a2roffsu(n->string, su, SCALE_EN) != NULL;
                 return 1;  
   
         return 0;  
 }  }
   
 static void  static void

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.143

CVSweb