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

Diff for /mandoc/tbl_html.c between version 1.40 and 1.41

version 1.40, 2022/04/14 16:43:44 version 1.41, 2022/04/23 14:02:17
Line 1 
Line 1 
 /* $Id$ */  /* $Id$ */
 /*  /*
  * Copyright (c) 2014,2015,2017,2018,2021 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2014, 2015, 2017, 2018, 2021, 2022
    *               Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
Line 137  print_tbl(struct html *h, const struct tbl_span *sp)
Line 138  print_tbl(struct html *h, const struct tbl_span *sp)
          */           */
   
         if (sp->pos != TBL_SPAN_DATA)          if (sp->pos != TBL_SPAN_DATA)
                 return;                  goto out;
   
         /* Inhibit printing of spaces: we do padding ourselves. */          /* Inhibit printing of spaces: we do padding ourselves. */
   
Line 289  print_tbl(struct html *h, const struct tbl_span *sp)
Line 290  print_tbl(struct html *h, const struct tbl_span *sp)
   
         h->flags &= ~HTML_NONOSPACE;          h->flags &= ~HTML_NONOSPACE;
   
   out:
         if (sp->next == NULL) {          if (sp->next == NULL) {
                 assert(h->tbl.cols);                  assert(h->tbl.cols);
                 free(h->tbl.cols);                  free(h->tbl.cols);

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

CVSweb