[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.83 and 1.85

version 1.83, 2010/06/12 12:38:01 version 1.85, 2010/06/19 20:46:28
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2008, 2009 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
  * 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 1058  mdoc_it_pre(MDOC_ARGS)
Line 1058  mdoc_it_pre(MDOC_ARGS)
                 break;                  break;
         }          }
   
           if (bl->data.Bl.width)
                   a2width(bl->data.Bl.width, &width);
   
         wp = -1;          wp = -1;
         for (i = 0; bl->args && i < (int)bl->args->argc; i++)          for (i = 0; bl->args && i < (int)bl->args->argc; i++)
                 switch (bl->args->argv[i].arg) {                  switch (bl->args->argv[i].arg) {
                 case (MDOC_Column):                  case (MDOC_Column):
                         wp = i; /* Save for later. */                          wp = i; /* Save for later. */
                         break;  
                 case (MDOC_Width):  
                         a2width(bl->args->argv[i].value[0], &width);  
                         break;                          break;
                 default:                  default:
                         break;                          break;

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.85

CVSweb