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

Diff for /mandoc/mdoc_html.c between version 1.141 and 1.142

version 1.141, 2011/01/04 10:29:41 version 1.142, 2011/01/07 13:20:58
Line 830  mdoc_bx_pre(MDOC_ARGS)
Line 830  mdoc_bx_pre(MDOC_ARGS)
         return(0);          return(0);
 }  }
   
   /* ARGSUSED */
 static int  static int
 mdoc_it_pre(MDOC_ARGS)  mdoc_it_pre(MDOC_ARGS)
 {  {
Line 944  mdoc_it_pre(MDOC_ARGS)
Line 945  mdoc_it_pre(MDOC_ARGS)
 static int  static int
 mdoc_bl_pre(MDOC_ARGS)  mdoc_bl_pre(MDOC_ARGS)
 {  {
         size_t           i;          int              i;
         struct htmlpair  tag[3];          struct htmlpair  tag[3];
         struct roffsu    su;          struct roffsu    su;
         char             buf[BUFSIZ];          char             buf[BUFSIZ];
Line 966  mdoc_bl_pre(MDOC_ARGS)
Line 967  mdoc_bl_pre(MDOC_ARGS)
                  * screen and we want to preserve that behaviour.                   * screen and we want to preserve that behaviour.
                  */                   */
   
                 for (i = 0; i < n->norm->Bl.ncols; i++) {                  for (i = 0; i < (int)n->norm->Bl.ncols; i++) {
                         a2width(n->norm->Bl.cols[i], &su);                          a2width(n->norm->Bl.cols[i], &su);
                         bufinit(h);                          bufinit(h);
                         if (i < n->norm->Bl.ncols - 1)                          if (i < (int)n->norm->Bl.ncols - 1)
                                 bufcat_su(h, "width", &su);                                  bufcat_su(h, "width", &su);
                         else                          else
                                 bufcat_su(h, "min-width", &su);                                  bufcat_su(h, "min-width", &su);

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

CVSweb