[BACK]Return to tbl_term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/tbl_term.c between version 1.36 and 1.37

version 1.36, 2017/06/12 20:14:03 version 1.37, 2017/06/12 20:44:57
Line 240 
Line 240 
                                         cp = cp->next;                                          cp = cp->next;
                                 } else                                  } else
                                         vert = 0;                                          vert = 0;
                                   if (sp->opts->opts & TBL_OPT_ALLBOX)
                                           vert = 1;
                                 if (vert == 0)                                  if (vert == 0)
                                         continue;                                          continue;
   
Line 298 
Line 300 
                 free(tp->tbl.cols);                  free(tp->tbl.cols);
                 tp->tbl.cols = NULL;                  tp->tbl.cols = NULL;
                 tp->tcol->offset = offset;                  tp->tcol->offset = offset;
         }          } else if (horiz == 0 && sp->opts->opts & TBL_OPT_ALLBOX)
                   tbl_hrule(tp, sp, 1);
   
         tp->flags &= ~TERMP_NONOSPACE;          tp->flags &= ~TERMP_NONOSPACE;
 }  }
   
Line 334 
Line 338 
                                 vert = c2->vert;                                  vert = c2->vert;
                         c2 = c2->next;                          c2 = c2->next;
                 }                  }
                   if (sp->opts->opts & TBL_OPT_ALLBOX && !vert)
                           vert = 1;
                 if (vert)                  if (vert)
                         tbl_char(tp, cross, vert);                          tbl_char(tp, cross, vert);
                 if (vert < 2)                  if (vert < 2)

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37