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

Diff for /mandoc/tbl_term.c between version 1.25 and 1.26

version 1.25, 2013/05/31 21:37:17 version 1.26, 2014/03/28 23:26:25
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 105  term_tbl(struct termp *tp, const struct tbl_span *sp)
Line 105  term_tbl(struct termp *tp, const struct tbl_span *sp)
   
         /* Vertical frame at the start of each row. */          /* Vertical frame at the start of each row. */
   
         if (TBL_OPT_BOX & sp->opts->opts || TBL_OPT_DBOX & sp->opts->opts)          if ((TBL_OPT_BOX | TBL_OPT_DBOX) & sp->opts->opts ||
               sp->head->vert)
                 term_word(tp, TBL_SPAN_HORIZ == sp->pos ||                  term_word(tp, TBL_SPAN_HORIZ == sp->pos ||
                         TBL_SPAN_DHORIZ == sp->pos ? "+" : "|");                          TBL_SPAN_DHORIZ == sp->pos ? "+" : "|");
   
Line 159  term_tbl(struct termp *tp, const struct tbl_span *sp)
Line 160  term_tbl(struct termp *tp, const struct tbl_span *sp)
   
         /* Vertical frame at the end of each row. */          /* Vertical frame at the end of each row. */
   
         if (TBL_OPT_BOX & sp->opts->opts || TBL_OPT_DBOX & sp->opts->opts)          if ((TBL_OPT_BOX | TBL_OPT_DBOX) & sp->opts->opts ||
               sp->layout->vert)
                 term_word(tp, TBL_SPAN_HORIZ == sp->pos ||                  term_word(tp, TBL_SPAN_HORIZ == sp->pos ||
                         TBL_SPAN_DHORIZ == sp->pos ? "+" : " |");                          TBL_SPAN_DHORIZ == sp->pos ? "+" : " |");
         term_flushln(tp);          term_flushln(tp);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

CVSweb