[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.58 and 1.59

version 1.58, 2019/03/18 08:00:26 version 1.59, 2019/06/11 15:40:41
Line 620 
Line 620 
                     (spp == NULL || cpn == NULL ||                      (spp == NULL || cpn == NULL ||
                      cpn->pos != TBL_CELL_DOWN ? BRIGHT * hw : 0), 1);                       cpn->pos != TBL_CELL_DOWN ? BRIGHT * hw : 0), 1);
   
           col = tp->tbl.cols;
         for (;;) {          for (;;) {
                 col = tp->tbl.cols + cp->col;                  if (cp == NULL)
                           col++;
                   else
                           col = tp->tbl.cols + cp->col;
   
                 /* Print the horizontal line inside this column. */                  /* Print the horizontal line inside this column. */
   
Line 647 
Line 651 
                                         uw = 1;                                          uw = 1;
                         }                          }
                         cpp = cpp->next;                          cpp = cpp->next;
                 }                  } else if (spp != NULL && opts & TBL_OPT_ALLBOX)
                           uw = 1;
                 if (cp != NULL)                  if (cp != NULL)
                         cp = cp->next;                          cp = cp->next;
                 if (cpn != NULL) {                  if (cpn != NULL) {
Line 659 
Line 664 
                         cpn = cpn->next;                          cpn = cpn->next;
                         while (dpn != NULL && dpn->layout != cpn)                          while (dpn != NULL && dpn->layout != cpn)
                                 dpn = dpn->next;                                  dpn = dpn->next;
                 }                  } else if (spn != NULL && opts & TBL_OPT_ALLBOX)
                 if (cpp == NULL && cp == NULL && cpn == NULL)                          dw = 1;
                   if (col + 1 == tp->tbl.cols + sp->opts->cols)
                         break;                          break;
   
                 /* Vertical lines do not cross spanned cells. */                  /* Vertical lines do not cross spanned cells. */

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59